GilangAlRusliadi commited on
Commit
fd8f452
·
1 Parent(s): 395b0d9
Files changed (1) hide show
  1. others.py +1 -11
others.py CHANGED
@@ -16,15 +16,6 @@ from tqdm import tqdm
16
  from googletrans import Translator
17
  from bs4 import BeautifulSoup
18
 
19
- def start_clock():
20
- start_time = None
21
- start_time = time.time()
22
- if start_time is not None:
23
- elapsed_time = time.time() - start_time
24
- hours, rem = divmod(elapsed_time, 3600)
25
- minutes, seconds = divmod(rem, 60)
26
- st.write("{:0>2}:{:0>2}:{:05.2f}".format(int(hours), int(minutes), seconds))
27
-
28
  def format_number(number):
29
  if number < 1000:
30
  return str(number)
@@ -191,8 +182,7 @@ def get_video_info(url):
191
  match = re.search(r'/(\d+)_', thumbnail_url)
192
  if match:
193
  digits = match.group(1)
194
- print(f"Kode Digit: {digits}")
195
- return
196
 
197
  return actress, series, digits, selected_video_url, thumbnail_url
198
 
 
16
  from googletrans import Translator
17
  from bs4 import BeautifulSoup
18
 
 
 
 
 
 
 
 
 
 
19
  def format_number(number):
20
  if number < 1000:
21
  return str(number)
 
182
  match = re.search(r'/(\d+)_', thumbnail_url)
183
  if match:
184
  digits = match.group(1)
185
+
 
186
 
187
  return actress, series, digits, selected_video_url, thumbnail_url
188