window.collectEvent('send');
Traceback (most recent call last):
File "amemv-video-ripper.py", line 543, in
CrawlerScheduler(content)
File "amemv-video-ripper.py", line 150, in init
self.scheduling()
File "amemv-video-ripper.py", line 164, in scheduling
self.download_user_videos(url)
File "amemv-video-ripper.py", line 179, in download_user_videos
video_count = self._download_user_media(user_id, dytk, url)
File "amemv-video-ripper.py", line 340, in _download_user_media
res = self.requestWebApi(url, params)
File "amemv-video-ripper.py", line 477, in requestWebApi
return json.loads(content)
File "C:\Program Files\Python37\lib\json__init__.py", line 348, in loads
return _default_decoder.decode(s)
File "C:\Program Files\Python37\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Program Files\Python37\lib\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 2 (char 1)
tiktok现在不能下载了吗?下载了源码跑不起来。 报错: window.collectEvent('404_referral', {})
window.collectEvent('send'); Traceback (most recent call last): File "amemv-video-ripper.py", line 543, in
CrawlerScheduler(content)
File "amemv-video-ripper.py", line 150, in init
self.scheduling()
File "amemv-video-ripper.py", line 164, in scheduling
self.download_user_videos(url)
File "amemv-video-ripper.py", line 179, in download_user_videos
video_count = self._download_user_media(user_id, dytk, url)
File "amemv-video-ripper.py", line 340, in _download_user_media
res = self.requestWebApi(url, params)
File "amemv-video-ripper.py", line 477, in requestWebApi
return json.loads(content)
File "C:\Program Files\Python37\lib\json__init__.py", line 348, in loads
return _default_decoder.decode(s)
File "C:\Program Files\Python37\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Program Files\Python37\lib\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 2 (char 1)