UrloMythus commited on
Commit
3761d9c
·
1 Parent(s): 1d818a7
Files changed (1) hide show
  1. tantifilm.py +7 -9
tantifilm.py CHANGED
@@ -190,7 +190,6 @@ def true_url(protect_link):
190
 
191
 
192
 
193
-
194
  #Get temporaly ID
195
  def tantifilm(imdb):
196
  urls = None
@@ -247,13 +246,12 @@ def tantifilm(imdb):
247
  if urls:
248
  return urls
249
  else:
250
- print("Tantifilm Error")
251
- url = true_url(protect_link)
252
- return url
 
 
253
 
254
  except Exception as e:
255
- try:
256
- urls
257
- url
258
- except Exception as e:
259
- print("Tantifilm Error")
 
190
 
191
 
192
 
 
193
  #Get temporaly ID
194
  def tantifilm(imdb):
195
  urls = None
 
246
  if urls:
247
  return urls
248
  else:
249
+ print("Tantifilm Error v2")
250
+ else:
251
+ url = true_url(protect_link)
252
+ if url:
253
+ return url
254
 
255
  except Exception as e:
256
+ print("Tantifilm Error: ", e)
257
+ return None