diff --git a/README.md b/README.md index 1abe947..dad83ca 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ _Automated YouTube Archival._ -A wrapper for youtube-dl that is for keeping very large amounts of data from YouTube in sync. It's designed to be simple and easy to use. +A wrapper for youtube-dl used for keeping very large amounts of data from YouTube in sync. It's designed to be simple and easy to use. I have a single, very large playlist that I add any videos I like to. On my NAS is a service uses this program to download new videos (see [Example systemd Service.md]). @@ -11,10 +11,10 @@ I have a single, very large playlist that I add any videos I like to. On my NAS - Uses yt-dlp instead of youtube-dl. - Skip videos that are already downloaded which makes checking a playlist for new videos quick because youtube-dl doesn't have to fetch the entire playlist. - Automatically update yt-dlp on launch. -- Downloads the videos in a format suitable for archiving: +- Download the videos in a format suitable for archiving: - Complex `format` that balances video quality and file size. - Embedding of metadata: chapters, thumbnail, english subtitles (automatic too), and YouTube metadata. -- Logs progress to a file. +- Log progress to a file. - Simple display using `tqdm`. - Limit the size of the downloaded videos. - Parallel downloads. @@ -37,11 +37,11 @@ Output Directory/ ├─ logs/ │ ├─ youtube_dl-.log │ ├─ youtube_dl-errors-.log -├─ download-archive.txt +├─ download-archive.log ├─ Example Video.mkv ``` -`download-archive.txt` contains the videos that have already been downloaded. You can import videos you've already downloaded by adding their ID to this file. +`download-archive.log` contains the videos that have already been downloaded. You can import videos you've already downloaded by adding their ID to this file. Videos will be saved using this name format: @@ -58,5 +58,5 @@ Videos will be saved using this name format: | `--rm-cache` | `-r` | Delete the yt-dlp cache on start. | | `--backwards` | `-b` | Reverse all playlists and download in backwards order. | | `--threads` | | How many download processes to use (threads). Default is how many CPU cores you have. You will want to find a good value that doesn't overload your connection. | -| `--daemon` | `-d` | Run in daemon mode. Disables progress bars and prints output that's good for journalctl. | +| `--daemon` | `-d` | Run in daemon mode. Disables progress bars. | \ No newline at end of file diff --git a/downloader.py b/downloader.py index 528652b..b5445fc 100755 --- a/downloader.py +++ b/downloader.py @@ -204,6 +204,7 @@ for i, target_url in tqdm(enumerate(url_list), total=len(url_list), position=0, 'download_archive': download_archive, 'ydl_opts': thread_opts, }) for video in download_queue)): + # Print stuff if result['downloaded_video_id']: download_archive_logger.info(result['downloaded_video_id']) if len(result['video_error_logger_msg']):