Screen scraper to get all 'a title' elements

Chris Angelico rosuav at gmail.com
Wed Nov 25 18:06:21 EST 2015


On Thu, Nov 26, 2015 at 9:48 AM, ryguy7272 <ryanshuell at gmail.com> wrote:
> Thanks!!  Is that regex?  Can you explain exactly what it is doing?
> Also, it seems to pick up a lot more than just the list I wanted, but that's ok, I can see why it does that.
>
> Can you just please explain what it's doing???

It's a trap!

Don't use a regex to parse HTML, unless you're deliberately trying to
entice young and innocent programmers to the dark side.

ChrisA



More information about the Python-list mailing list