Spaces:
Running
Running
BinaryONe
commited on
Commit
·
8b8faa0
1
Parent(s):
bdad080
Callback Update
Browse files
FileStream/bot/plugins/FileHandlers/callback.py
CHANGED
|
@@ -163,7 +163,8 @@ async def cb_data(bot: Client, update: CallbackQuery):
|
|
| 163 |
res = imdb.search(title, year=year)
|
| 164 |
print(f"ANY SEARCH :{title} YEAR :{year} IMDB Response :{res}")
|
| 165 |
print("TMDB",search_tmdb_any(title, year))
|
| 166 |
-
print(f"IMDB
|
|
|
|
| 167 |
if msg_type == 'MOVIE':
|
| 168 |
resp=search_tmdb_movies(name)
|
| 169 |
print("TMDB Movie Response:",resp,"\n IMDB",res)
|
|
|
|
| 163 |
res = imdb.search(title, year=year)
|
| 164 |
print(f"ANY SEARCH :{title} YEAR :{year} IMDB Response :{res}")
|
| 165 |
print("TMDB",search_tmdb_any(title, year))
|
| 166 |
+
print(f"IMDB ID :{res['results'][0]['id']}")
|
| 167 |
+
#print(f"IMDB Response :{imdb.get_by_id()}")
|
| 168 |
if msg_type == 'MOVIE':
|
| 169 |
resp=search_tmdb_movies(name)
|
| 170 |
print("TMDB Movie Response:",resp,"\n IMDB",res)
|