loadchange / amemv-crawler

🙌Easily download all the videos from TikTok(amemv).下载指定的 抖音(Douyin) 号的视频,抖音爬虫
MIT License
2.37k stars 625 forks source link

抖音签名算法变了,我有,大家可以联系我,共同探讨 #176

Open junges521 opened 4 years ago

junges521 commented 4 years ago

抖音新版的xgorgon算法变了

kakaka6c commented 4 years ago

我无法运行此代码,结果只能得到: {"Status Code": 0, "has_more": Yes, "aweme_list": []} Download user media: 85860189461, results retry: 1. {"Status Code": 0, "has_more": Yes, "aweme_list": []} Download user media: 85860189461, results retry: 2.

crazyfish1111 commented 4 years ago

是的 我今天也是 download user media: 58479215586, result retry: 196. {"status_code": 0, "has_more": true, "aweme_list": []} download user media: 58479215586, result retry: 197. {"status_code": 0, "has_more": true, "aweme_list": []} download user media: 58479215586, result retry: 198. Traceback (most recent call last): File "amemv-video-ripper.py", line 529, in CrawlerScheduler(content) File "amemv-video-ripper.py", line 151, in init self.scheduling() File "amemv-video-ripper.py", line 165, in scheduling self.download_user_videos(url) File "amemv-video-ripper.py", line 180, in download_user_videos video_count = self._download_user_media(user_id, dytk, url) File "amemv-video-ripper.py", line 322, in _download_user_media res = self.requestWebApi(url, params) File "amemv-video-ripper.py", line 455, in requestWebApi content = res.content.decode('utf-8') UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe4 in position 4: invalid continuation byte

oldstorm commented 4 years ago

请问下有解决办法吗 遇到同样的问题