Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandhunt committed Jan 26, 2020
1 parent e32e0f7 commit 4966f1c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scraper.py
Expand Up @@ -685,13 +685,16 @@ def doesscrapeurlexist(scrapesitelist, scrapeurl):
image_urls[imagekey] = newimageval
imageval = newimageval
if imageval.find('//') == -1:
print('HERE')
del prodlog_image_urls[imagekey]
continue
if imageval.find('blank.'):
print('THERE')
del image_urls[imagekey]
continue
if ignoreurlscontainingstring != '':
if imageval.find(ignoreurlscontainingstring):
print('BUT NOT HERE')
del image_urls[imagekey]
continue
if imageval[0:2] == '//':
Expand Down

0 comments on commit 4966f1c

Please sign in to comment.