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 00d6dc7 commit d1f5f18
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -701,9 +701,8 @@ def doesscrapeurlexist(scrapesitelist, scrapeurl):
#output = re.finditer(r'image\=\"(.*)\"', image_dom, flags=re.U)
output = re.finditer(r'image\=\"(.*?)\"', image_dom)
array_output = []
print(output[0].group(1))
print(output[1].group(1))
for output_el in output:
print(output_el.group(1))
array_output.append(output_el.group())
if len(array_output) > 1:
if array_output[1].len() > 0:
Expand Down

0 comments on commit d1f5f18

Please sign in to comment.