删除无用__pycache__内容及vscode配置

This commit is contained in:
2022-06-05 14:53:18 +08:00
parent 49a0715191
commit b3bfe6ae58
47 changed files with 1 additions and 55 deletions
-13
View File
@@ -1,13 +0,0 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Python: 当前文件",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"args": ["https://live.douyin.com/162574996168"]
}
]
}
-6
View File
@@ -1,6 +0,0 @@
{
"cSpell.words": [
"douyin",
"mitmproxy"
]
}
+1 -1
View File
@@ -1,4 +1,4 @@
抖音web直播间([live.douyin.com](https://live.douyin.com))弹幕抓取 抖音web直播间([live.douyin.com](https://live.douyin.com))弹幕抓取
-- --
**屏幕效果截图** **屏幕效果截图**
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-25
View File
@@ -1,25 +0,0 @@
# ! IMPORT ! make sure you ran mitmproxy with this script,
# eg: `/path/to/mitmproxy -s mitmproxy.py`
import time
from mitmproxy import http
import re
import requests
session = requests.session()
class Writer:
def websocket_message(self, flow: http.HTTPFlow):
re_c = re.search('webcast\d-ws-web-.*\.douyin\.com', flow.request.host)
if re_c:
message = flow.websocket.messages[-1]
if message.from_client:
return
content = message.content
session.post("http://127.0.0.1:5000/message", data=content, headers={
"X-MITM-TS": str(time.time()),
"X_REFERER": flow.request.host
}, timeout=(1, 1))
addons = [Writer()]
-10
View File
@@ -1,10 +0,0 @@
import requests
from config.helper import config
def getUserinfo(uid):
try:
r = requests.get(config()['api']['userinfo'] + str(uid))
return r.json()
except:
pass
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.