russianWebBypass
yeah...
requirements
Firefox & gockodriver for firefox
installation
Libs:
selenium
pip3 install -U rubypass
or
pip install -U rubypass
websites in question
docs
main functions
seasonvarByPass(url, maxEps=30)
extracts video urls, season at a time if not maxed out by maxEps, from a provided seasonvar url, extracts original dub if possible
Arguments:
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 onurl
seasonvarByPassEp(url, ep)
extracts a video url of a provided episode from a provided seasonvar url, extracts original dub if possible
Arguments:
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, processedep
showInfo(url)
extracts details about the show from a provided seasonvar url
Arguments:
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 onurl
animevostBypass(url, maxEps=40)
extracts video urls, season at a time if not maxed out by maxEps, from a provided animevost url
Arguments:
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 onurl
animevostBypassEp(url, ep)
extracts a video url of a provided episode from a provided animevost url
Arguments:
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, processedep
animevostInfo(url)
extracts details about the show from a provided animevost url
Arguments:
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 present
helper functions
klk(elem, driver)
clicks a selenium web element if it's not obscured by anything
Arguments:
elem- selenium web element objectdriver- selenium webDriver object
Returns: None
firefoxDriverInit()
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 0
firefoxDriverInit2()
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 0
getVod(driver)
returns a source url of a first video element on the page
Argument:
driver- selenium webDriver object
Returns:
url- str, source url of the video element
Metadata
Release files for rubypass 0.2.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| rubypass-0.2.5.1.tar.gz | 4.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rubypass-0.2.5.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.7 kB
Release files / rubypass-0.2.5.1.tar.gz
| Download URL | rubypass-0.2.5.1.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ac621ba9c71c8e1888adb3dc1a2ad36ca3edfe4456c37d7518cc2f8adaf84716
|
|
BLAKE2b-256 checksum How to use checksums |
2cce66de8f85e05d54aa10455cfa1f0da01dcf0ce2262655085807687ccf200e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
|
Release files / rubypass-0.2.5.1-py3-none-any.whl
| Download URL | rubypass-0.2.5.1-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ddf2a873dbde3d38aaae645d7789237fe797f841cb6712fe58b5d02d44f8587a
|
|
BLAKE2b-256 checksum How to use checksums |
27e24d81d789b2e8f7c6303d5a80e83f6b04a54113b54b3130dae5562598a339
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
|
Security for rubypass 0.2.5.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.