You've already forked Douyin_Web_Live
1
This commit is contained in:
BIN
scripts/__pycache__/utils.cpython-39.pyc
Normal file
BIN
scripts/__pycache__/utils.cpython-39.pyc
Normal file
Binary file not shown.
Binary file not shown.
10
scripts/utils.py
Normal file
10
scripts/utils.py
Normal file
@ -0,0 +1,10 @@
|
||||
import requests
|
||||
|
||||
from config.helper import config
|
||||
|
||||
def getUserinfo(uid):
|
||||
try:
|
||||
r = requests.get(config()['api']['userinfo'] + str(uid))
|
||||
return r.json()
|
||||
except:
|
||||
pass
|
@ -39,6 +39,5 @@ class Handler(FileSystemEventHandler):
|
||||
return None
|
||||
|
||||
elif event.event_type == 'created':
|
||||
print('here')
|
||||
q.put(event.src_path)
|
||||
|
||||
|
Reference in New Issue
Block a user