1
0
mirror of https://github.com/wbt5/real-url.git synced 2025-07-31 22:13:05 +08:00

🎨 Improve BIGO

-优化代码
This commit is contained in:
wbt5 2022-07-23 15:38:00 +08:00
parent d72082e554
commit e90452eacc
No known key found for this signature in database
GPG Key ID: E2F55AB57C55A168

View File

@ -3,11 +3,12 @@
# @Project: my-spiders
# @Author: wbt5
# @Blog: https://wbt5.com
# BIGO LIVE:https://www.bigo.tv/cn/
import requests
class bigo:
class Bigo:
def __init__(self, rid):
self.rid = rid
@ -23,7 +24,7 @@ class bigo:
def get_real_url(rid):
try:
url = bigo(rid)
url = Bigo(rid)
return url.get_real_url()
except Exception as e:
print('Exception', e)