You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
https://www.iesdouyin.com/share/user/76725372134?u_code=119ahghf6&sec_uid=MS4wLjABAAAA2jD45shuaphDnTULtCA3baR-xPXsD97pzSzgKAYwfss×tamp=1573702412&utm_source=copy&utm_campaign=client_share&utm_medium=android&share_app_name=douyin
Parse share-url to user share url...
Downloading videos from user, count:10...
<User<default,76725372134>>
internal/modules/cjs/loader.js:797
throw err;
^
Error: Cannot find module '/Users/macbook/anaconda3/lib/python3.6/site-packages/douyin_spider/utils/decryption/signture.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:794:15)
at Function.Module._load (internal/modules/cjs/loader.js:687:27)
at Function.Module.runMain (internal/modules/cjs/loader.js:1025:10)
at internal/main/run_main_module.js:17:11 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Traceback (most recent call last):
File "assign_share_url.py", line 161, in <module>
run()
File "assign_share_url.py", line 157, in run
process_func(real_url, count)
File "assign_share_url.py", line 130, in download_videos_from_user
downloader.download(user.videos(max=count))
File "/Users/macbook/anaconda3/lib/python3.6/site-packages/douyin_spider/downloaders/parent.py", line 92, in download
for item in input_items:
File "/Users/macbook/anaconda3/lib/python3.6/site-packages/douyin_spider/models/user.py", line 35, in videos
'_signature': generate_signature(str(self.id)),
File "/Users/macbook/anaconda3/lib/python3.6/site-packages/douyin_spider/utils/decryption/signture.py", line 20, in generate_signature
return p.readlines()[0]
IndexError: list index out of range
The text was updated successfully, but these errors were encountered:
macOS 10.15.1
python 3.6.5
在douyin_spider/douyin_spider中运行
python assign_share_url.py -u "https://v.douyin.com/QHt8K5/"
The text was updated successfully, but these errors were encountered: