""" (c) 2024 ReviveMii Project. All rights reserved. If you want to use this Code, give Credits to ReviveMii Project. https://revivemii.fr.to/ ReviveMii Project and TheErrorExe is the Developer of this Code. Modification, Network Use and Distribution is allowed if you leave this Comment in the beginning of the Code, and if a website exist, Credits on the Website. 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. 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. If you use this Code, you agree to https://revivemii.fr.to/revivetube/t-and-p.html, also available as http only Version: http://old.errexe.xyz/revivetube/t-and-p.html ReviveMii Project: https://revivemii.fr.to/ """ import json import isodate from flask import Flask, request, render_template_string, send_file, Response, abort, jsonify import tempfile import shutil import yt_dlp import requests import subprocess import os import threading from threading import Thread import time app = Flask(__name__) def check_and_create_folder(): while True: folder_path = './sigma/videos' if not os.path.exists(folder_path): os.makedirs(folder_path) print(f"Ordner {folder_path} wurde erstellt.") time.sleep(10) def start_folder_check(): thread = Thread(target=check_and_create_folder) thread.daemon = True thread.start() VIDEO_FOLDER = "sigma/videos" API_BASE_URL = "https://y.com.sb/api/v1/" YOUTUBE_API_URL = "https://www.googleapis.com/youtube/v3/videos" video_status = {} LOADING_TEMPLATE = """
Fetching Info...
A YouTube App for the Wii
{% if results %}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)Version: v2 Beta (Sometimes I forget to update the Version Number)
Open Source Software Used in This App