https://github.com/robweber/embedded-downloader
Quick script to download videos embedded in a website
https://github.com/robweber/embedded-downloader
python3
Last synced: 12 months ago
JSON representation
Quick script to download videos embedded in a website
- Host: GitHub
- URL: https://github.com/robweber/embedded-downloader
- Owner: robweber
- License: mit
- Created: 2022-04-12T13:58:43.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-04-12T15:27:12.000Z (about 4 years ago)
- Last Synced: 2025-02-23T07:44:25.462Z (over 1 year ago)
- Topics: python3
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Embedded Video Downloader
[](https://www.python.org/dev/peps/pep-0008/)
A simple video downloader application to pull in videos from a url, or list of urls
## Install
```
git clone
cd embedded-downloader
pip3 install .
```
__Note__ You may need to add the `$HOME/.local/bin` directory to your PATH variable to use the console utility. You can get around this by installing the script with `sudo`, then it will be available in `/usr/local/bin` instead.
## Usage
Once installed you can use the command line utility or call the downloader Python script directly.
__CLI Utility__
```
usage: embedded-video-downloader [-h] [-d DIR] (-u URL | -f FILE)
Embedded Video Downloader
optional arguments:
-h, --help show this help message and exit
-d DIR, --dir DIR download directory, default is downloads/
-u URL, --url URL video url to download, cannot be used with -f
-f FILE, --file FILE file containining URLs, cannot be used with -u
```
__Calling Directly__
```
python3 src/embedded_downloader/downloader.py -u https://video/urls
python3 src/embedded_downloader/downloader.py -f path/to/file.txt
```
If using the `-f` option you should use a text file with one URL per line.
## License
[MIT](/LICENSE)