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
// ==UserScript== | |
// @name animelon-subtitle-downloader | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description download animelon subtitles | |
// @author mescyn#5794 | |
// @match https://animelon.com/video/* | |
// @grant unsafeWindow | |
// @grant GM_registerMenuCommand | |
// @require https://cdn.jsdelivr.net/npm/file-saver-es@2.0.5/dist/FileSaver.min.js |
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
-- almost all of this is from Ben Kerman's sub-pause script - https://github.com/Ben-Kerman/mpv-sub-scripts/blob/master/sub-pause.lua | |
-- I just made some minor changes so visibility of subtitles is determined by a hotkey (e like languagereactor) and implemented | |
-- a credit system so you can only access a certain number of subtitles per show (default 10 per refold roadmap example) | |
-- | |
-- This is only designed for use in stage 1. | |
-- feel free to modify and/or redistribute as long as you give credit to the original creator; © 2022 Ben Kerman | |
local cfg = { | |
default_start = false, |
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
# Importing the libraries | |
from bs4 import BeautifulSoup | |
import requests | |
import sys | |
import re | |
import argparse | |
import os | |
import csv | |
# Function to generate cards using the given html page |
OlderNewer