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 b94baf1 commit 0a54e13
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions scraper.py
Expand Up @@ -689,9 +689,10 @@ def doesscrapeurlexist(scrapesitelist, scrapeurl):
if imageval.find('blank.'):
del image_urls[imagekey]
continue
if imageval.find(ignoreurlscontainingstring):
del image_urls[imagekey]
continue
if ignoreurlscontainingstring != '':
if imageval.find(ignoreurlscontainingstring):
del image_urls[imagekey]
continue
if imageval[0:2] == '//':
imageval = 'https:' + imageval
image_urls[imagekey] = imageval
Expand Down

0 comments on commit 0a54e13

Please sign in to comment.