[go: nahoru, domu]

Skip to content

Commit

Permalink
fixes #74 with #84
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhiyuanChen committed Oct 25, 2020
1 parent c42251d commit de762cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion icrawler/builtin/google.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def parse(self, response):
continue
if 'ds:1' not in txt:
continue
txt = re.sub(r"^AF_initDataCallback\({.*key: 'ds:(\d)'.+data:(.+), sideChannel: {}}\);?$",
txt = re.sub(r"^AF_initDataCallback\({.*key: 'ds:(\d)'.+data:(.+), sideChannel: {.*}}\);?$",
"\\2", txt, 0, re.DOTALL)

meta = json.loads(txt)
Expand Down

0 comments on commit de762cf

Please sign in to comment.