Skip to content

Commit

Permalink
Merge pull request #2 from Joeclinton1/master
Browse files Browse the repository at this point in the history
Merged master and patch-1
  • Loading branch information
Joeclinton1 authored Jun 27, 2020
2 parents fbc4a16 + 068712b commit 18b0e45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion google_images_download/google_images_download.py
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ def _get_next_item(self,s):

# Getting all links with the help of '_images_get_next_image'
def _get_image_objects(self,s):
start_line = s.find("AF_initDataCallback({key: \\'ds:2\\'") - 10
start_line = s.find("AF_initDataCallback({key: \\'ds:1\\'") - 10
start_object = s.find('[', start_line + 1)
end_object = s.find('</script>', start_object + 1) - 4
object_raw = str(s[start_object:end_object])
Expand Down

0 comments on commit 18b0e45

Please sign in to comment.