From 07c69a3fc7d2fb2a10358d951b887d014c464db4 Mon Sep 17 00:00:00 2001 From: TheErrorExe Date: Wed, 1 Jan 2025 00:05:44 +0100 Subject: [PATCH] happy new year, to this commit is not much to say --- revivetube.py | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/revivetube.py b/revivetube.py index f4acb73..c49a344 100644 --- a/revivetube.py +++ b/revivetube.py @@ -5,7 +5,7 @@ ReviveMii Project and TheErrorExe is the Developer of this Code. Modification, N This Code uses the Invidious API, Google API and yt-dlp. This Code is designed to run on Ubuntu 24.04. -Don’t claim that this code is your code. Don't use it without Credits to the ReviveMii Project. Don't use it without this Comment. Don't modify this Comment. +Don't claim that this code is your code. Don't use it without Credits to the ReviveMii Project. Don't use it without this Comment. Don't modify this Comment. ReviveMii's Server Code is provided "as-is" and "as available." We do not guarantee uninterrupted access, error-free performance, or compatibility with all Wii systems. ReviveMii project is not liable for any damage, loss of data, or other issues arising from the use of this service and code. @@ -283,19 +283,18 @@ INDEX_TEMPLATE = """ {% endif %}

Visit ReviveMii

-

Visit ReviveMii (HTTP Only Version for the Wii)

\/ Scroll down \/

We are NOT affiliated with Nintendo or YouTube. This app uses code from Wiinet.xyz. For more information, scroll down to Open Source Software.

It's recommended to bookmark this page. Some sites may take longer to load.

- Terms of Service and Privacy Policy (Last Updated: 7. Dec 2024 12:41 CET)

+ Terms of Service and Privacy Policy (Last Updated: 7. Dec 2024 12:41 CET)

Source Code

- Discord Server [Use a Compatible Device] + Discord Server [Use a Compatible Device]

Version: v2 Beta (Sometimes I forget to update the Version Number)

Open Source Software Used in This App
Contact
- Report Bugs & Feedback + Report Bugs & Feedback """ @@ -646,7 +645,7 @@ def process_video(video_id): command = [ "yt-dlp", "-f worstvideo+worstaudio", - "--force-ipv4", + "--proxy", "http://localhost:4000", "-o", temp_video_path, f"https://m.youtube.com/watch?v={video_id}" ] @@ -654,7 +653,7 @@ def process_video(video_id): downloaded_files = [f for f in os.listdir(temp_dir) if video_id in f] if not downloaded_files: - video_status[video_id] = {"status": "error", "message": "Download fehlgeschlagen."} + video_status[video_id] = {"status": "error", "message": "Error downloading."} return downloaded_file = os.path.join(temp_dir, downloaded_files[0])