Name: Anonymous 2009-08-12 22:27
I'm trying to make a simple script in python to fetch a thread's (nonthumbnailed) images and save them to a folder. I've got most of it done, but I am AWFUL with regex. I just need a way to convert, for example:
<span title="Jan24th.jpg">Jan24th.jpg</span>)</span><br><a href="http://cgi.4chan.org/s/src/1250128463143.jpg" target=_blank>
Into
>Jan24th.jpg
and
>http://cgi.4chan.org/s/src/1250128463143.jpg
<span title="Jan24th.jpg">Jan24th.jpg</span>)</span><br><a href="http://cgi.4chan.org/s/src/1250128463143.jpg" target=_blank>
Into
>Jan24th.jpg
and
>http://cgi.4chan.org/s/src/1250128463143.jpg