grantwilliams / wg-gesucht-crawler-cli

Python web crawler / scraper for WG-Gesucht. Crawls the WG-Gesucht site for new apartment listings and send a message to the poster, based off your saved filters and saved text
MIT License
76 stars 28 forks source link

fix NoneType when looking for submitter name #8

Closed guidopetri closed 5 years ago

guidopetri commented 5 years ago

This is probably caused by a submitter taking down an ad right before the crawler downloads the page. I just wrapped it in a simple try throwing an Error and logging it if it happens.

cami0 commented 5 years ago

Hello @charlesoblack, Which variable are you using in the text of the message to be substituted for Name of the person who set up the ad?

Look forward to hear back from you.

Cheers

Alex

guidopetri commented 5 years ago

@cami0 i'm not using that function at all.