-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added fG_Torrents to FG_Teams hope you guys like it
- Loading branch information
Showing
17 changed files
with
1,773 additions
and
169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
from selenium import webdriver | ||
from selenium.webdriver.common.by import By | ||
from selenium.webdriver.support import expected_conditions as EC | ||
from selenium.webdriver.support.ui import WebDriverWait | ||
from selenium.webdriver.common.action_chains import ActionChains | ||
from time import sleep | ||
from fake_useragent import UserAgent | ||
|
||
def extract(url, proxy): | ||
options = webdriver.ChromeOptions() | ||
if proxy: | ||
pluginfile = "proxy_auth_plugin.zip" | ||
options.add_extension(pluginfile) | ||
ua = UserAgent() | ||
user_agent = ua.random | ||
options.add_argument("--headless=new") | ||
options.add_argument(f"user-agent={user_agent}") | ||
options.add_argument("--no-sandbox") | ||
options.add_argument("--disable-dev-shm-usage") | ||
options.add_argument("--disable-renderer-backgrounding") | ||
options.add_argument("--disable-background-timer-throttling") | ||
options.add_argument("--disable-backgrounding-occluded-windows") | ||
options.add_argument("--disable-client-side-phishing-detection") | ||
options.add_argument("--disable-crash-reporter") | ||
options.add_argument("--disable-oopr-debug-crash-dump") | ||
options.add_argument("--no-crash-upload") | ||
options.add_argument("--disable-gpu") | ||
options.add_argument("--disable-low-res-tiling") | ||
options.add_argument("--log-level=3") | ||
options.add_argument("--silent") | ||
options.add_extension("chrome.crx") | ||
options.add_experimental_option( | ||
"excludeSwitches", ["enable-logging"]) | ||
options.add_argument("--log-level=3") | ||
|
||
driver = webdriver.Chrome(options=options) | ||
driver.set_script_timeout(30) | ||
driver.get(url) | ||
click = WebDriverWait(driver, 10).until(EC.element_to_be_clickable( | ||
(By.CSS_SELECTOR, '#embed-player > div.main-content > div.play-btn'))) | ||
ActionChains(driver).move_to_element(click).click(click).perform() | ||
WebDriverWait(driver, 10).until( | ||
EC.frame_to_be_available_and_switch_to_it((By.ID, 've-iframe'))) | ||
|
||
sleep(30) | ||
|
||
src = driver.execute_script("return document.documentElement.outerHTML;") | ||
|
||
with open('frames.html', 'w') as f: | ||
f.write(src) | ||
f.close() | ||
|
||
driver.quit() | ||
raise SystemExit |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
{ | ||
"use_proxy": "Do you want to use a proxy?", | ||
"not_proxy_error": "Invalid input. Defaulting to not using proxy.", | ||
"old_version": "You are using an old version.\nThe latest version is", | ||
"suggest_latest": "Please download the latest version for additional features", | ||
"latest": "You are using the latest version..", | ||
"server_one": "Using server 1", | ||
"cooking": "Let me cook plz wait this may take some time... ", | ||
"not_exist": "The {self.search} does not exist or not found.", | ||
"diff_server": "Please try a different server.", | ||
"download_number": "Enter the numbers of the torrents you want to download (separated by spaces), or 'e' to exit", | ||
"invalid_input": "Invalid input {r}. Skipping.", | ||
"selection_error": "No valid selections. Please enter valid numbers.", | ||
"patience": "Please be patient. Your downloads will begin in a few seconds.", | ||
"selection_mistake": "Invalid input. Please enter valid numbers separated by spaces.", | ||
"torrent_error": "Failed to add torrent.", | ||
"exit_message": "Exiting application. Thanks for using the software! 😘", | ||
"disclaimer": "Please use this responsibly im not be responsible for any illegal thing u do", | ||
"audio": "Audios 🎵", | ||
"movie": "Movies/Videos 🎥", | ||
"software": "Softwares", | ||
"games": "Games 🎮", | ||
"porn": "Porn 🔞", | ||
"other": "Other", | ||
"ask": "What you wanna download > ", | ||
"incorrect_movie_name": "Please enter the movie name correctly.", | ||
"continue": "press enter to continue...", | ||
"movie_doesnt_exist": "does not exist or not found.", | ||
"exit_option": "e - Exit application", | ||
"what_to_watch": "\nPlz Enter which one you watch > ", | ||
"invalid_number": "Invalid input. Please enter a valid number.", | ||
"season_selection": "Enter the number corresponding to the season you want to explore: ", | ||
"episode_selection": "\nEnter the number corresponding to the episode you want to explore: ", | ||
"invalid_season_number": "Invalid season number selected.", | ||
"inavlid_episode_number": "Invalid episode number selected.", | ||
"movie_search_server": "Using The best server to get the movies", | ||
"source_extraction": "Done extracting source plz wait a few seconds \nsorry for delay", | ||
"anime_web_error": "If loading takes too long make sure you entered anime name right or plz try sub dont use dub", | ||
"sub_dub_selection_error": "sorry invalid sub dub selection", | ||
"open_web_watch": " open this link if nothing popped up", | ||
"all_internet_message": "searching all the internet plz wait it may take time", | ||
"tamilrockers_database": "searching all the tamilrockers database...", | ||
"wait_": "Plz wait this may take some time", | ||
"not_available_error": "'sorry the movie is not available or has been deleted :(", | ||
"server": "Torrent download servers:", | ||
"1": "1. Server 1(almost anything using torrents)", | ||
"2": "2. Anime server(download animes)", | ||
"web": "\n\nWatch online servers:(movies only)", | ||
"3": "\n3. Watch online(all language movies available no dubs)", | ||
"4": "\n4. Hindi movies (only movies but all dubs are available)", | ||
"5": "\n5. Tamil movies/series (dubbed)", | ||
"6": "\n6. anime (sub-dub)", | ||
"more": "More adding soon", | ||
"enter": "\nEnter your choice: ", | ||
"movie_name": "Enter name of the movie", | ||
"Thanks": "\nDownload complete. Thanks for using my software! 😘", | ||
"soon": "Coming soon", | ||
"movie_series_name": "Enter name of movie/series > ", | ||
"under_development": "Sorry guys this is still under development will be available soon", | ||
"sub_dub": "how you want to watch Sub or dub (s/d)> ", | ||
"anime_name": "Enter name of the anime (plz dont make spelling mistake) > ", | ||
"ep_no": "Episode number > ", | ||
"server_selection_error": "Invalid choice. Please enter 1, 2, 3, 4, 5, 6", | ||
"chrome_isnt_installed": "Please install Chrome to run the code.", | ||
"qbittorrent_isnt_installed": "Please install qBittorrent to run the code.", | ||
"check_message": "make sure u have installed chrome and qbittorrent plz", | ||
"main_menu": "Do you want to return to main menu (y/n)> ", | ||
"server_running": "server already running", | ||
"kill": "\n\nkill unwanted chrome process", | ||
"chrome_driver": "\n7. kill chrome.exe and chromedriver.exe (if ur only using watch online server) " | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
{ | ||
"use_proxy": "¿Quieres usar un proxy?", | ||
"not_proxy_error": "Entrada no válida. Usando la opción predeterminada de no usar proxy.", | ||
"old_version": "Estás usando una versión antigua.\nLa última versión es", | ||
"suggest_latest": "Por favor, descarga la última versión para obtener características adicionales.", | ||
"latest": "Estás usando la última versión.", | ||
"server_one": "Usando servidor 1", | ||
"cooking": "Por favor, espera mientras cocino... Esto puede tomar algún tiempo...", | ||
"not_exist": "{self.search} no existe o no se encontró.", | ||
"diff_server": "Por favor, prueba con un servidor diferente.", | ||
"download_number": "Ingresa los números de los torrents que deseas descargar (separados por espacios), o 'e' para salir", | ||
"invalid_input": "Entrada no válida {r}. Omitiendo.", | ||
"selection_error": "No hay selecciones válidas. Por favor, ingresa números válidos.", | ||
"patience": "Por favor, sé paciente. Tus descargas comenzarán en unos segundos.", | ||
"selection_mistake": "Entrada no válida. Por favor, ingresa números válidos separados por espacios.", | ||
"torrent_error": "Error al agregar el torrent.", | ||
"exit_message": "Saliendo de la aplicación. ¡Gracias por usar el software! 😘", | ||
"disclaimer": "Por favor, utiliza esto de manera responsable. No seré responsable de ninguna actividad ilegal que realices.", | ||
"audio": "Audios 🎵", | ||
"movie": "Películas/Videos 🎥", | ||
"software": "Software", | ||
"games": "Juegos 🎮", | ||
"porn": "Pornografía 🔞", | ||
"other": "Otros", | ||
"ask": "¿Qué quieres descargar > ", | ||
"incorrect_movie_name": "Por favor, ingresa correctamente el nombre de la película.", | ||
"continue": "presiona enter para continuar...", | ||
"movie_doesnt_exist": "no existe o no se encontró.", | ||
"exit_option": "e - Salir de la aplicación", | ||
"what_to_watch": "\nPor favor, ingresa cuál deseas ver > ", | ||
"invalid_number": "Entrada no válida. Por favor, ingresa un número válido.", | ||
"season_selection": "Ingresa el número correspondiente a la temporada que deseas explorar: ", | ||
"episode_selection": "\nIngresa el número correspondiente al episodio que deseas explorar: ", | ||
"invalid_season_number": "Número de temporada seleccionado no válido.", | ||
"inavlid_episode_number": "Número de episodio seleccionado no válido.", | ||
"movie_search_server": "Usando el mejor servidor para obtener las películas", | ||
"source_extraction": "Extracción de la fuente completada. Por favor, espera unos segundos. Disculpa la demora.", | ||
"anime_web_error": "Si la carga tarda demasiado, asegúrate de haber ingresado correctamente el nombre del anime o intenta con subtítulos en lugar de doblaje.", | ||
"sub_dub_selection_error": "Selección de sub/doblaje no válida.", | ||
"open_web_watch": " abre este enlace si no ha aparecido nada", | ||
"all_internet_message": "buscando en todo internet, por favor espera, podría tomar tiempo", | ||
"tamilrockers_database": "buscando en toda la base de datos de Tamilrockers...", | ||
"wait_": "Por favor, espera. Esto podría tomar algún tiempo", | ||
"not_available_error": "'Lo siento, la película no está disponible o ha sido eliminada :(", | ||
"server": "Servidores de descarga de torrents:", | ||
"1": "1. Servidor 1 (casi cualquier cosa usando torrents)", | ||
"2": "2. Servidor de anime (descarga animes)", | ||
"web": "\n\nServidores para ver en línea (solo películas):", | ||
"3": "\n3. Ver en línea (todas las películas en todos los idiomas disponibles, sin doblajes)", | ||
"4": "\n4. Películas en hindi (solo películas, pero disponibles todos los doblajes)", | ||
"5": "\n5. Películas/series en tamil (dobladas)", | ||
"6": "\n6. Anime (sub/doblaje)", | ||
"more": "Más funciones pronto", | ||
"enter": "\nIngresa tu elección: ", | ||
"movie_name": "Ingresa el nombre de la película", | ||
"Thanks": "\nDescarga completa. ¡Gracias por usar mi software! 😘", | ||
"soon": "Próximamente", | ||
"movie_series_name": "Ingresa el nombre de la película/serie > ", | ||
"under_development": "Lo siento, esto aún está en desarrollo. Estará disponible pronto.", | ||
"sub_dub": "¿Cómo quieres verlo? Sub o doblaje (s/d)> ", | ||
"anime_name": "Ingresa el nombre del anime (por favor, no cometas errores ortográficos) > ", | ||
"ep_no": "Número de episodio > ", | ||
"server_selection_error": "Opción no válida. Por favor, ingresa 1, 2, 3, 4, 5 o 6", | ||
"chrome_isnt_installed": "Por favor, instala Chrome para ejecutar el código.", | ||
"qbittorrent_isnt_installed": "Por favor, instala qBittorrent para ejecutar el código.", | ||
"check_message": "Asegúrate de haber instalado Chrome y qBittorrent, por favor", | ||
"main_menu": "¿Quieres volver al menú principal (s/n)> ", | ||
"server_running": "servidor ya está en ejecución", | ||
"kill": "\n\nmatar proceso chrome no deseado", | ||
"chrome_driver": "\n7. kill chrome.exe y chromedriver.exe (si solo está utilizando el servidor de ver en línea)" | ||
} |
Oops, something went wrong.