Foxtrot

<< back to list

comic "Foxtrot"
start_at "http://www.gocomics.com/foxtrot/1996/03/11"
 
for page in visit("""<a href="(?<content>[^"]*?)" class="next">Next feature</a>"""):
 
    extra_link = match("""<img alt="[^"]*" class="strip" src="(?<content>http://assets.amuniversal.com/[^"]*?)" />""") as (string)
    if extra_link != null:
        download("""<img alt="[^"]*" class="strip" src="(?<content>http://assets.amuniversal.com/[^"]*?)" />""") 
    else:
        download("""<img alt="[^"]*" class="strip" src="(?<content>http://assets.amuniversal.com/[^"]*?)" width="[^"]*" />""")
 
# Note that downloaded files, unfortunately, do not have file extensions. They will need to be added.
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License