fix: typo in Tuple (#259)

This commit is contained in:
yinruiqing
2024-04-12 16:03:11 +08:00
committed by GitHub
parent 147120ddd9
commit a2e44e91a5

View File

@@ -14,7 +14,7 @@ import time
import urllib.parse
import urllib.error
from urllib.request import Request
from typing import Union, Dict, Any
from typing import Union, Dict, Any, Tuple
import requests
import re
import json
@@ -896,7 +896,7 @@ def get_maoerfm_stream_url(url: str, proxy_addr: Union[str, None] = None, cookie
@trace_error_decorator
def get_winktv_bj_info(url: str, proxy_addr: Union[str, None] = None, cookies: Union[str, None] = None) -> \
tuple[str, Any]:
Tuple[str, Any]:
headers = {
'accept': 'application/json, text/plain, */*',
'accept-language': 'zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6',
@@ -1502,4 +1502,4 @@ if __name__ == '__main__':
# print(get_flextv_stream_data(room_url,proxy_addr='', username='', password=''))
# print(get_looklive_stream_url(room_url, proxy_addr=''))
# print(get_popkontv_stream_url(room_url, proxy_addr='', username='', password=''))
# print(get_twitcasting_stream_url(room_url, proxy_addr='', username='', password=''))
# print(get_twitcasting_stream_url(room_url, proxy_addr='', username='', password=''))