mirror of
https://github.com/wbt5/real-url.git
synced 2025-08-01 14:48:01 +08:00
🎨 Improve BIGO
-优化代码
This commit is contained in:
parent
d72082e554
commit
e90452eacc
5
bigo.py
5
bigo.py
@ -3,11 +3,12 @@
|
|||||||
# @Project: my-spiders
|
# @Project: my-spiders
|
||||||
# @Author: wbt5
|
# @Author: wbt5
|
||||||
# @Blog: https://wbt5.com
|
# @Blog: https://wbt5.com
|
||||||
|
# BIGO LIVE:https://www.bigo.tv/cn/
|
||||||
|
|
||||||
import requests
|
import requests
|
||||||
|
|
||||||
|
|
||||||
class bigo:
|
class Bigo:
|
||||||
|
|
||||||
def __init__(self, rid):
|
def __init__(self, rid):
|
||||||
self.rid = rid
|
self.rid = rid
|
||||||
@ -23,7 +24,7 @@ class bigo:
|
|||||||
|
|
||||||
def get_real_url(rid):
|
def get_real_url(rid):
|
||||||
try:
|
try:
|
||||||
url = bigo(rid)
|
url = Bigo(rid)
|
||||||
return url.get_real_url()
|
return url.get_real_url()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print('Exception:', e)
|
print('Exception:', e)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user