mirror of
https://github.com/ihmily/DouyinLiveRecorder.git
synced 2025-12-26 05:48:32 +08:00
fix: update changliao live room url rule (#861)
This commit is contained in:
parent
0c97d0612f
commit
1a8f2fe9bd
@ -234,7 +234,7 @@ https://17.live/en/live/6302408
|
||||
https://www.lang.live/en-US/room/3349463
|
||||
|
||||
畅聊直播:
|
||||
https://www.tlclw.com/801044397
|
||||
https://live.tlclw.com/106188
|
||||
|
||||
飘飘直播:
|
||||
https://m.pp.weimipopo.com/live/preview.html?uid=91648673&anchorUid=91625862&app=plpl
|
||||
|
||||
@ -2498,7 +2498,7 @@ def get_changliao_stream_url(url: str, proxy_addr: OptionalStr = None, cookies:
|
||||
'User-Agent': 'ios/7.830 (ios 17.0; ; iPhone 15 (A2846/A3089/A3090/A3092))',
|
||||
'Accept': 'application/json, text/plain, */*',
|
||||
'Accept-Language': 'zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2',
|
||||
'Referer': 'https://wap.tlclw.com/phone/801044397?promoters=0',
|
||||
'Referer': 'https://wap.tlclw.com/phone/15777?promoters=0',
|
||||
}
|
||||
if cookies:
|
||||
headers['Cookie'] = cookies
|
||||
|
||||
6
main.py
6
main.py
@ -764,7 +764,7 @@ def start_record(url_data: tuple, count_variable: int = -1) -> None:
|
||||
port_info = stream.get_stream_url(
|
||||
json_data, record_quality, url_type='flv', flv_extra_key='url')
|
||||
|
||||
elif record_url.find("tlclw.com/") > -1:
|
||||
elif record_url.find("live.tlclw.com/") > -1:
|
||||
platform = '畅聊直播'
|
||||
with semaphore:
|
||||
port_info = spider.get_changliao_stream_url(
|
||||
@ -1798,7 +1798,7 @@ while True:
|
||||
'wap.7u66.com',
|
||||
'live.acfun.cn',
|
||||
'm.acfun.cn',
|
||||
'www.tlclw.com',
|
||||
'live.tlclw.com',
|
||||
'wap.tlclw.com',
|
||||
'live.ybw1666.com',
|
||||
'wap.ybw1666.com',
|
||||
@ -1919,4 +1919,4 @@ while True:
|
||||
t2.start()
|
||||
first_run = False
|
||||
|
||||
time.sleep(3)
|
||||
time.sleep(3)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user