Skip to content

Commit

Permalink
A note on local downloads
Browse files Browse the repository at this point in the history
  • Loading branch information
vxbinaca authored Sep 19, 2023
1 parent 3c827b8 commit 8d78be0
Showing 1 changed file with 16 additions and 35 deletions.
51 changes: 16 additions & 35 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,41 +108,12 @@ Dockerized tubeup is provided by [etnguyen03/docker-tubeup](https://github.com/e
5. Install Tubeup using steps 2-6 in the Linux configuration guide above and configuring `internetarchive` for your Archive.org account.
6. Periodically update your Linux packages and pip packages.

## Usage

```
Usage:
tubeup <url>... [--username <user>] [--password <pass>]
[--metadata=<key:value>...]
[--cookies=<filename>]
[--proxy <prox>]
[--quiet] [--debug]
[--use-download-archive]
[--output <output>]
[--ignore-existing-item]
tubeup -h | --help
tubeup --version
```
```
Arguments:
<url> yt-dlp compatible URL to download.
Check yt-dlp documentation for a list
of compatible websites.
--metadata=<key:value> Custom metadata to add to the archive.org
item.
Options:
-h --help Show this screen.
-p --proxy <prox> Use a proxy while uploading.
-u --username <user> Provide a username, for sites like Nico Nico Douga.
-p --password <pass> Provide a password, for sites like Nico Nico Douga.
-a --use-download-archive Record the video url to the download archive.
This will download only videos not listed in
the archive file. Record the IDs of all
downloaded videos in it.
-q --quiet Just print errors.
-d --debug Print all logs to stdout.
-o --output <output> yt-dlp output template.
-i --ignore-existing-item Don't check if an item already exists on archive.org
## Help

To display a flag list run:

```
tubeup --help
```

## Metadata
Expand Down Expand Up @@ -187,6 +158,16 @@ Read the appropriate section [in this guide](https://archive.org/about/faqs.php#

Do not use Tubeup to archive live Youtube (or any other site) video. We will not/cannot fix it, it's not even our problem, and any solutions are unpalitable since they involve more code complexity to be maintained ontop of having to disable livechat for one extractor only for live video.

## Local downloading

Tubeup doesn't support local downloading only, keeping downloaded files. Please do not ask us to support it. Learn to use yt-dlp.

To mimic what Tubeup does but only download, run:

`yt-dlp --restrict-filenames --continue --no-overwrites --write-info-json --write-subs --sub-format 'srt' --sub-langs 'all' --write-thumbnail --write-description --write-info-json --format 'bestvideo+bestaudio' `

Followed by the URL.

## Major Credits (in no particular order)

- [emijrp](https://github.com/emijrp/) who wrote the original [youtube2internetarchive.py](https://code.google.com/p/emijrp/source/browse/trunk/scrapers/youtube2internetarchive.py) in 2012
Expand Down

0 comments on commit 8d78be0

Please sign in to comment.