Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

爬微博图片 minid是这个?好像不行 #19

Open
zhangdadi opened this issue Dec 10, 2019 · 0 comments
Open

爬微博图片 minid是这个?好像不行 #19

zhangdadi opened this issue Dec 10, 2019 · 0 comments

Comments

@zhangdadi
Copy link

对应的手机网页端id是: html>

com.get_comments(max_page=20) File "/Users/huanleguo/Documents/interesting-python-master/Weibo_Comment_Pics/photo_clawler.py", line 85, in get_comments max_id = response.json()['data']['max_id'] # 找出下一页需要用的max_id File "/usr/local/lib/python3.7/site-packages/requests/models.py", line 897, in json return complexjson.loads(self.text, **kwargs) File "/usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/__init__.py", line 348, in loads return _default_decoder.decode(s) File "/usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant