From 72056df62f2803adcd3618bd4eef88134efe3d62 Mon Sep 17 00:00:00 2001 From: TheFrenchGhosty Date: Fri, 12 Jun 2020 19:40:01 +0200 Subject: [PATCH] Add Watch on Mobile Devices scripts --- .../Source - Watch on Mobile Devices.txt | 0 .../Watch on Mobile Devices.sh | 9 +++++++++ README.md | 8 +++++--- .../Source - Watch on Mobile Devices.txt | 0 .../Watch on Mobile Devices.ps1 | 9 +++++++++ 5 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 Linux - OSX/Watch on Mobile Devices Script/Source - Watch on Mobile Devices.txt create mode 100755 Linux - OSX/Watch on Mobile Devices Script/Watch on Mobile Devices.sh create mode 100644 Windows/Watch on Mobile Devices Script/Source - Watch on Mobile Devices.txt create mode 100755 Windows/Watch on Mobile Devices Script/Watch on Mobile Devices.ps1 diff --git a/Linux - OSX/Watch on Mobile Devices Script/Source - Watch on Mobile Devices.txt b/Linux - OSX/Watch on Mobile Devices Script/Source - Watch on Mobile Devices.txt new file mode 100644 index 0000000..e69de29 diff --git a/Linux - OSX/Watch on Mobile Devices Script/Watch on Mobile Devices.sh b/Linux - OSX/Watch on Mobile Devices Script/Watch on Mobile Devices.sh new file mode 100755 index 0000000..6bc1fa2 --- /dev/null +++ b/Linux - OSX/Watch on Mobile Devices Script/Watch on Mobile Devices.sh @@ -0,0 +1,9 @@ +#!/bin/sh +# +# TheFrenchGhostys YouTube-DL Archivist Scripts: The ultimate collection of scripts for YouTube-DL +# https://github.com/TheFrenchGhosty/TheFrenchGhostys-YouTube-DL-Archivist-Scripts +# https://github.com/TheFrenchGhosty +# +# + +youtube-dl --format "(bestvideo[vcodec=avc1][height>=1080][fps>30]/bestvideo[vcodec=avc1][height>=1080]/bestvideo[vcodec=avc1][height>=720][fps>30]/bestvideo[vcodec=avc1][height>=720]/bestvideo)+(140/bestaudio)/best" --verbose --force-ipv4 --sleep-interval 5 --max-sleep-interval 30 --ignore-errors --no-continue --no-overwrites --download-archive archive.log --add-metadata --all-subs --sub-format "srt" --embed-subs --output "%(uploader)s - %(upload_date)s - %(title)s [%(id)s].%(ext)s" --merge-output-format "mkv" --batch-file "Source - Watch on Mobile Devices.txt" diff --git a/README.md b/README.md index 5fe0d8b..f129b29 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Create a folder where you want your videos downloaded in a drive where you have **Warning for Windows users**: Because Windows is using a path length limit of 260 characters, you might have problems when downloading videos with long title (or even videos with short one if your path is long), supposedly there is ways to disable this limit but during my testing I couldn't make it to work. Using `C:\YouTube-DL\` *should* work. -Put the folders `Active Scripts`, `Archive Scripts` and `Watch Script` of your OS in the created folder (Read the section named "[Archive, Active and Watch Scripts?](https://github.com/TheFrenchGhosty/TheFrenchGhostys-YouTube-DL-Archivist-Scripts#archive-active-and-watch-scripts)" to understand the differences). +Put the folders `Active Scripts`, `Archive Scripts` and `Watch Script` of your OS in the created folder (Read the section named "[Archive, Active, Watch and Watch on Mobile Devices Scripts?](https://github.com/TheFrenchGhosty/TheFrenchGhostys-YouTube-DL-Archivist-Scripts#archive-active-watch-and-watch-on-mobile-devices-scripts)" to understand the differences). Add content to a 'Source - XXXXXX.txt' file depending of what type of content you want to download (Read the section named "[Channels, Playlists and Unique Scripts?](https://github.com/TheFrenchGhosty/TheFrenchGhostys-YouTube-DL-Archivist-Scripts#channels-playlists-and-unique-scripts)" to understand the differences). @@ -35,7 +35,7 @@ Sponsorblock is fully useable with the videos downloaded by this script thanks t To use it you just have to set: `local_pattern = " %[([%a%d%-_]+)].[mw][kpe][v4b]m?$"` in `sponsorblock.lua`. Note that this will send/leak to the Sponsorblock server everything that use this naming including "[CRCs in anime-style naming](https://github.com/TheFrenchGhosty/TheFrenchGhostys-YouTube-DL-Archivist-Scripts/issues/1#issuecomment-633000802)". -## Archive, Active and Watch Scripts? +## Archive, Active, Watch and Watch on Mobile Devices Scripts? Downloading and archiving "live" content is complicated, especially because gigabytes of it will be created each day. @@ -45,7 +45,9 @@ Archive Scripts: Scripts that will download everything that was created before D Active Scripts: Scripts that will download everything that was created after January 1, 2020 (included). -Watch Scripts: Scripts that wil download individual videos made by a creator that are not meant to be archived but deleted after being watched (naming scheme: `Uploader - 20201231 - Title.ext`). +Watch Script: Script that wil download individual videos made by a creator that are not meant to be archived but deleted after being watched (naming scheme: `Uploader - 20201231 - Title.ext`). + +Watch on Mobile Devices Script: Script that wil download individual videos made by a creator that are not meant to be archived but deleted after being watched, in old video and audio format that are support by every mobile devices (naming scheme: `Uploader - 20201231 - Title.ext`). These dates will need to be incremented every year January 1 and the content created by the active scripts will need to be moved to the archive (including the `archive.log` that will need to be merged). diff --git a/Windows/Watch on Mobile Devices Script/Source - Watch on Mobile Devices.txt b/Windows/Watch on Mobile Devices Script/Source - Watch on Mobile Devices.txt new file mode 100644 index 0000000..e69de29 diff --git a/Windows/Watch on Mobile Devices Script/Watch on Mobile Devices.ps1 b/Windows/Watch on Mobile Devices Script/Watch on Mobile Devices.ps1 new file mode 100755 index 0000000..da3738a --- /dev/null +++ b/Windows/Watch on Mobile Devices Script/Watch on Mobile Devices.ps1 @@ -0,0 +1,9 @@ +# +# +# TheFrenchGhostys YouTube-DL Archivist Scripts: The ultimate collection of scripts for YouTube-DL +# https://github.com/TheFrenchGhosty/TheFrenchGhostys-YouTube-DL-Archivist-Scripts +# https://github.com/TheFrenchGhosty +# +# + +youtube-dl --format "(bestvideo[vcodec=avc1][height>=1080][fps>30]/bestvideo[vcodec=avc1][height>=1080]/bestvideo[vcodec=avc1][height>=720][fps>30]/bestvideo[vcodec=avc1][height>=720]/bestvideo)+(140/bestaudio)/best" --verbose --force-ipv4 --sleep-interval 5 --max-sleep-interval 30 --ignore-errors --no-continue --no-overwrites --download-archive archive.log --add-metadata --all-subs --sub-format "srt" --embed-subs --output "%(uploader)s - %(upload_date)s - %(title)s [%(id)s].%(ext)s" --merge-output-format "mkv" --batch-file "Source - Watch on Mobile Devices.txt"