Addic7ed Scraper
================
Requirements
------------
This scraper is made to work with Python 3 only. It is pre-installed on
many linux distribution.
If it's not your case, install it :p
Install
-------
Using python-pip:
::
$ sudo pip install addic7ed
Using Git repository:
::
$ git clone https://github.com/Jesus-21/addic7ed.git addic7ed
or download/unzip
`archive <https://github.com/Jesus-21/addic7ed/archive/master.zip>`__
then (from download/clone path):
::
$ sudo pip install -r requirements.txt
or use python `Python
virtualenv <http://docs.python-guide.org/en/latest/dev/virtualenvs/>`__
and install requirements within.
Create ~/.addic7edrc file containing language you want (english for instance):
::
[addic7ed]
lang = en
You can find language codes `here <https://github.com/Jesus-21/addic7ed/blob/master/addic7ed/constants.py>`__
Usage
-----
If you installed using python-pip, just run *addic7ed* (otherwise *addic7ed.py* file should be excutable) from the folder where your video files are,
::
$ addic7ed
or
::
$ /git/clone/path/addic7ed.py
following command line arguments can be provided:
::
positional arguments:
PATH path of file to search subtitles for (default: all
video from current dir).
optional arguments:
-h, --help show this help message and exit
--list-lang list supported languages.
-n, --dry-run do not ask or download subtitlejust output available
ones and leave.
-l LANG, --lang LANG language to search subs for (default: en).
-k, --keep-lang suffix subtitle file with language code.
-e EXTENSIONS [EXTENSIONS ...], --extensions EXTENSIONS [EXTENSIONS ...]
Find subtitles for files matching given extensions
(space separated values)
--names-from-file NAMES_FROM_FILE
read file names from a file.
--paths-from-file PATHS_FROM_FILE
read file paths from a file.
-r {none,sub,video}, --rename {none,sub,video}
rename sub/video to match video/sub or none at all
(default: none).
then it will prompt which file you want to download. If download is
successful, it will rename the video file to match subtitle file.
|Example|
TODO List
---------
- Error management/reporting
- Intelligent auto-download (using comment + completion +
popularity)
- Better file crawling (recursivity mainly)
Suggestions and/or pull requests are more than welcome!
.. |Example| image:: https://raw.githubusercontent.com/Jesus-21/addic7ed/master/readme/capture.jpg
================
Requirements
------------
This scraper is made to work with Python 3 only. It is pre-installed on
many linux distribution.
If it's not your case, install it :p
Install
-------
Using python-pip:
::
$ sudo pip install addic7ed
Using Git repository:
::
$ git clone https://github.com/Jesus-21/addic7ed.git addic7ed
or download/unzip
`archive <https://github.com/Jesus-21/addic7ed/archive/master.zip>`__
then (from download/clone path):
::
$ sudo pip install -r requirements.txt
or use python `Python
virtualenv <http://docs.python-guide.org/en/latest/dev/virtualenvs/>`__
and install requirements within.
Create ~/.addic7edrc file containing language you want (english for instance):
::
[addic7ed]
lang = en
You can find language codes `here <https://github.com/Jesus-21/addic7ed/blob/master/addic7ed/constants.py>`__
Usage
-----
If you installed using python-pip, just run *addic7ed* (otherwise *addic7ed.py* file should be excutable) from the folder where your video files are,
::
$ addic7ed
or
::
$ /git/clone/path/addic7ed.py
following command line arguments can be provided:
::
positional arguments:
PATH path of file to search subtitles for (default: all
video from current dir).
optional arguments:
-h, --help show this help message and exit
--list-lang list supported languages.
-n, --dry-run do not ask or download subtitlejust output available
ones and leave.
-l LANG, --lang LANG language to search subs for (default: en).
-k, --keep-lang suffix subtitle file with language code.
-e EXTENSIONS [EXTENSIONS ...], --extensions EXTENSIONS [EXTENSIONS ...]
Find subtitles for files matching given extensions
(space separated values)
--names-from-file NAMES_FROM_FILE
read file names from a file.
--paths-from-file PATHS_FROM_FILE
read file paths from a file.
-r {none,sub,video}, --rename {none,sub,video}
rename sub/video to match video/sub or none at all
(default: none).
then it will prompt which file you want to download. If download is
successful, it will rename the video file to match subtitle file.
|Example|
TODO List
---------
- Error management/reporting
- Intelligent auto-download (using comment + completion +
popularity)
- Better file crawling (recursivity mainly)
Suggestions and/or pull requests are more than welcome!
.. |Example| image:: https://raw.githubusercontent.com/Jesus-21/addic7ed/master/readme/capture.jpg
Metadata
Release files for addic7ed 1.1.5
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 | |
|---|---|---|---|---|
| addic7ed-1.1.5.tar.gz | 8.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| addic7ed-1.1.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.4 kB
Release files / addic7ed-1.1.5.tar.gz
| Download URL | addic7ed-1.1.5.tar.gz |
|---|---|
| Size | 8.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3d77ae58cc7efc113d6d231c22919502d82aba2662def3370e87c1dfe0ade1de
|
|
BLAKE2b-256 checksum How to use checksums |
ed8d38aa04883bfe1e24e3a9bd9f03b111400b70f5c55dd16b1e0d0b46b0235f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / addic7ed-1.1.5-py3-none-any.whl
| Download URL | addic7ed-1.1.5-py3-none-any.whl |
|---|---|
| Size | 12.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b1f38446dd742e55860a231c9557247bbbf6eea1dd38c71b98b22a9ef53124d1
|
|
BLAKE2b-256 checksum How to use checksums |
6b1be62ea82a775b8acf3fa5a850e3f42b29b3cb0ea6ff95edda0e985a118b1f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for addic7ed 1.1.5
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.