Skip to content

Commit 846e48c

Browse files
authored
it's raw
1 parent 3273f35 commit 846e48c

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
@@ -47,7 +47,7 @@ def get_video_urls(self, user_id):
4747
_nickname_re = re.compile(r'<p class="nickname">(.+?)<\/p>')
4848
nickname = _nickname_re.search(share_user.text).group(1)
4949
print('JS签名下载中')
50-
urllib.request.urlretrieve('https://github.com/Jack-Cherish/python-spider/blob/master/douyin/fuck-byted-acrawler.js', 'fuck-byted-acrawler.js')
50+
urllib.request.urlretrieve('https://raw.githubusercontent.com/Jack-Cherish/python-spider/master/douyin/fuck-byted-acrawler.js', 'fuck-byted-acrawler.js')
5151
try:
5252
process = Popen(['node', 'fuck-byted-acrawler.js', str(user_id)], stdout=PIPE, stderr=PIPE)
5353
except (OSError, IOError) as err:

0 commit comments

Comments
 (0)