mirror of
https://github.com/Arrowar/StreamingCommunity.git
synced 2025-07-21 09:30:02 +00:00
Fix url mostraguarda
This commit is contained in:
parent
001c3f09e8
commit
2fe1f449eb
@ -70,10 +70,8 @@ def download_film(movie_details: Json_film) -> str:
|
|||||||
player_links = soup.find("ul", class_ = "_player-mirrors").find_all("li")
|
player_links = soup.find("ul", class_ = "_player-mirrors").find_all("li")
|
||||||
supervideo_url = "https:" + player_links[0].get("data-link")
|
supervideo_url = "https:" + player_links[0].get("data-link")
|
||||||
|
|
||||||
|
|
||||||
# Set domain and media ID for the video source
|
# Set domain and media ID for the video source
|
||||||
video_source = VideoSource()
|
video_source = VideoSource(url=supervideo_url)
|
||||||
video_source.setup(supervideo_url)
|
|
||||||
|
|
||||||
# Define output path
|
# Define output path
|
||||||
title_name = os_manager.get_sanitize_file(movie_details.title) + ".mp4"
|
title_name = os_manager.get_sanitize_file(movie_details.title) + ".mp4"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user