Skip to content

Commit bf51724

Browse files
authored
Update douyin.py
1 parent e7717f0 commit bf51724

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

douyin/douyin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def get_video_urls(self, user_id, type_flag='f'):
5656
except (OSError, IOError) as err:
5757
print('请先安装 node.js: https://nodejs.org/')
5858
sys.exit()
59-
user_url_prefix = 'https://www.amemv.com/aweme/v1/aweme/favorite' if type_flag == 'f' else 'https://www.douyin.com/aweme/v1/aweme/post'
59+
user_url_prefix = 'https://www.douyin.com/aweme/v1/aweme/favorite' if type_flag == 'f' else 'https://www.douyin.com/aweme/v1/aweme/post'
6060
print('解析视频链接中')
6161
while has_more != 0:
6262
process = Popen(['node', 'fuck-byted-acrawler.js', str(user_id)], stdout=PIPE, stderr=PIPE)

0 commit comments

Comments
 (0)