I would take a look at the Mac App FakeApp. It does a lot of what you are saying expecially in regards to CSS and xpath selectors. I have been using it and have been able to do some really great stuff.
Ask HN: Is there any HTML table scraper generator in python or else?
11–11 of 11 posts