Skip to content

Commit c7525c3

Browse files
authored
typo
1 parent 5e2ae39 commit c7525c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

douyin_pro_2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def get_video_urls(self, user_id):
5757
except (OSError, IOError) as err:
5858
print('请先安装 node.js: https://nodejs.org/')
5959
sys.exit()
60-
sign = singer.readlines()[0]
60+
sign = process.communicate()[0].decode()
6161
user_url = 'https://www.amemv.com/aweme/v1/aweme/post/?user_id=%s&max_cursor=0&count=%s&aid=1128&_signature=%s&dytk=%s' % (uid, aweme_count, sign, dytk)
6262
req = requests.get(user_url, headers=self.headers)
6363
html = json.loads(req.text)

0 commit comments

Comments
 (0)