mirror of
https://github.com/Arrowar/StreamingCommunity.git
synced 2025-06-07 12:05:35 +00:00
Merge branch 'main' into main
This commit is contained in:
commit
e4f641bfab
@ -326,9 +326,10 @@ class M3U8_Segments:
|
|||||||
- type (str): Type of download: 'video' or 'audio'
|
- type (str): Type of download: 'video' or 'audio'
|
||||||
"""
|
"""
|
||||||
if TELEGRAM_BOT:
|
if TELEGRAM_BOT:
|
||||||
# Viene usato per lo screen
|
|
||||||
console.log("####")
|
|
||||||
|
|
||||||
|
# Viene usato per lo screen
|
||||||
|
console.log("####")
|
||||||
|
|
||||||
self.get_info()
|
self.get_info()
|
||||||
self.setup_interrupt_handler()
|
self.setup_interrupt_handler()
|
||||||
|
|
||||||
|
@ -194,6 +194,7 @@ class TheMovieDB:
|
|||||||
"""
|
"""
|
||||||
self._cached_trending_movies = self._make_request("trending/movie/week").get("results", [])
|
self._cached_trending_movies = self._make_request("trending/movie/week").get("results", [])
|
||||||
return self._cached_trending_movies
|
return self._cached_trending_movies
|
||||||
|
|
||||||
def search_movie(self, movie_name: str):
|
def search_movie(self, movie_name: str):
|
||||||
"""
|
"""
|
||||||
Search for a movie by name and return its TMDB ID.
|
Search for a movie by name and return its TMDB ID.
|
||||||
|
@ -145,7 +145,6 @@ def initialize():
|
|||||||
except:
|
except:
|
||||||
console.log("[red]Error with loading github.")
|
console.log("[red]Error with loading github.")
|
||||||
|
|
||||||
|
|
||||||
def restart_script():
|
def restart_script():
|
||||||
"""Riavvia lo script con gli stessi argomenti della riga di comando."""
|
"""Riavvia lo script con gli stessi argomenti della riga di comando."""
|
||||||
print("\n🔄 Riavvio dello script...\n")
|
print("\n🔄 Riavvio dello script...\n")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user