Package: rubypass
russianWebBypassyeah...requirementsFirefox & gockodriver for firefoxinstallationLibs:seleniumpip3 install -U rubypassorpip install -U rubypasswebsites in questionseasonvaranimevostdocsmain functionsseasonvarByPass(url, maxEps=30)extracts video urls, season at a time if not maxed out bymaxEps, from a providedseasonvarurl, extracts original dub if possibleArguments:url- str, a link to a show from seasonvar(required)maxEps- int, maximum amount of episodes to extract, default is 30(optional)Returns:err- bool, True if an exception occurred in execution, False otherwisevods- list of strings, list of extracted video urlsep- int, maximum amount of episodes available onurlseasonvarByPassEp(url, ep)extracts a video url of a provided episode from a providedseasonvarurl, extracts original dub if possibleArguments:url- str, a link to a show from seasonvar(required)ep- int, index of an episode to be extracted, can be lower or higher then episode count of the show(required)Returns:err- bool, True if an exception occurred in execution, False otherwisevod- str, url to a video sourceep2- int, processedepshowInfo(url)extracts details about the show from a providedseasonvarurlArguments:url- str, a link to a show from seasonvar(required)Returns:err- bool, True if an exception occurred in execution, False otherwiselolz- list of strings, list of urls to other seasons of the show, if presentep- int, maximum amount of episodes available onurlanimevostBypass(url, maxEps=40)extracts video urls, season at a time if not maxed out bymaxEps, from a providedanimevosturlArguments:url- str, a link to a show from animevost(required)maxEps- int, maximum amount of episodes to extract, default is 40(optional)Returns:err- bool, True if an exception occurred in execution, False otherwiselolz- list of strings, list of extracted video urlsname[1]- int, maximum amount of episodes available onurlanimevostBypassEp(url, ep)extracts a video url of a provided episode from a providedanimevosturlArguments:url- str, a link to a show from animevost(required)ep- int, index of an episode to be extracted, can be lower or higher then episode count of the show(required)Returns:err- bool, True if an exception occurred in execution, False otherwisevod- str, url to a video sourceep2- int, processedepanimevostInfo(url)extracts details about the show from a providedanimevosturlArguments:url- str, a link to a show from animevost(required)Returns:err- bool, True if an exception occurred in execution, False otherwiseeps- list of ints, min and max values about episodes of the showname- str, name of the showlolz- list of strings, list of urls to other seasons of the show, if presenthelper functionsklk(elem, driver)clicks a selenium web element if it's not obscured by anythingArguments:elem- selenium web element objectdriver- selenium webDriver objectReturns:NonefirefoxDriverInit()constructs a webDriver object and returns it with parameters'permissions.default.image'=2# images are off'dom.ipc.plugins.enabled.libflashplayer.so'=False# flash is off'dom.disable_beforeunload'=True'media.volume_scale'='0.0'# volume is 0firefoxDriverInit2()constructs a webDriver object and returns it with parameters'permissions.default.image'=2# images are off'permissions.default.stylesheet'=2# most css is off'dom.ipc.plugins.enabled.libflashplayer.so'=False# flash is off'dom.disable_beforeunload'=True'media.volume_scale'='0.0'# volume is 0getVod(driver)returns a source url of a first video element on the pageArgument:driver- selenium webDriver objectReturns:url- str, source url of the video element