1
0
mirror of https://github.com/wbt5/real-url.git synced 2026-03-24 10:06:55 +08:00

Compare commits

..

No commits in common. "eeb1983a1e64f2a5e46bd8afe245170530309388" and "ca70bf46a988e6a45d7fce08f16ba781c3bb9b4a" have entirely different histories.

7 changed files with 3 additions and 5 deletions

View File

@ -18,11 +18,9 @@
## 更新
### 2020.05.30更新虎牙直播。
### 2020.05.25更新哔哩哔哩直播。
2020.05.25:更新哔哩哔哩直播。
- 默认获取最高画质,不同清晰度取决于请求参数中的 qn。
- 默认获取最高画质,不同清晰度取决去请求参数中的 qn。
- 增加 .m3u8 格式播放链接的获取方法。
2020.05.23更新17直播、虎牙直播

View File

@ -20,7 +20,7 @@ def get_real_url(room_id):
if 'replay' in liveLineUrl:
return '直播录像:' + liveLineUrl
else:
real_url = ["https:" + re.sub(r'_\d{4}.m3u8', '.m3u8', liveLineUrl), "https:" + liveLineUrl]
real_url = ["https:" + liveLineUrl.replace('_2500', ''), "https:" + liveLineUrl]
else:
real_url = '未开播或直播间不存在'
except:

View File

View File

View File

View File