Skip to content

Commit 2395256

Browse files
authored
Update douyin.py
1 parent 40b10ae commit 2395256

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
@@ -49,7 +49,7 @@ def get_video_urls(self, user_id, type_flag='f'):
4949
dytk = _dytk_re.search(share_user.text).group(1)
5050
_nickname_re = re.compile(r'<p class="nickname">(.+?)<\/p>')
5151
nickname = _nickname_re.search(share_user.text).group(1)
52-
#urllib.request.urlretrieve('https://raw.githubusercontent.com/Jack-Cherish/python-spider/master/douyin/fuck-byted-acrawler.js', 'fuck-byted-acrawler.js')
52+
urllib.request.urlretrieve('https://raw.githubusercontent.com/Jack-Cherish/python-spider/master/douyin/fuck-byted-acrawler.js', 'fuck-byted-acrawler.js')
5353
try:
5454
Popen(['node', '-v'], stdout=PIPE, stderr=PIPE).communicate()
5555
except (OSError, IOError) as err:

0 commit comments

Comments
 (0)