From e90452eacc5b8dc5a316ac8b7c813ccfb9f9a796 Mon Sep 17 00:00:00 2001 From: wbt5 Date: Sat, 23 Jul 2022 15:38:00 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20Improve=20BIGO=20-=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bigo.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bigo.py b/bigo.py index b81d9a0..6fd5798 100644 --- a/bigo.py +++ b/bigo.py @@ -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)