did stuff
This commit is contained in:
2
yt-dlp/.gitignore
vendored
Normal file
2
yt-dlp/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
downloaded_iwara.txt
|
||||||
|
Artists
|
@ -107,6 +107,7 @@ https://www.iwara.tv/profile/rx
|
|||||||
https://www.iwara.tv/profile/saikkuro
|
https://www.iwara.tv/profile/saikkuro
|
||||||
https://www.iwara.tv/profile/salmina
|
https://www.iwara.tv/profile/salmina
|
||||||
https://www.iwara.tv/profile/saya_end38
|
https://www.iwara.tv/profile/saya_end38
|
||||||
|
https://www.iwara.tv/profile/seikou
|
||||||
https://www.iwara.tv/profile/sfm-slayer
|
https://www.iwara.tv/profile/sfm-slayer
|
||||||
https://www.iwara.tv/profile/shantianxiaozhi
|
https://www.iwara.tv/profile/shantianxiaozhi
|
||||||
https://www.iwara.tv/profile/shirotako
|
https://www.iwara.tv/profile/shirotako
|
16
yt-dlp/yt-dlp.sh
Executable file
16
yt-dlp/yt-dlp.sh
Executable file
@ -0,0 +1,16 @@
|
|||||||
|
#!/usr/bin/bash
|
||||||
|
|
||||||
|
[[ -d ./Artists ]] || mkdir ./Artists
|
||||||
|
rm -rf ./Artists/*
|
||||||
|
|
||||||
|
readarray -t links < ./downloaded_iwara.txt
|
||||||
|
for ((i = 0 ; i < ${#links[@]} ; i++)); do
|
||||||
|
#echo ${links[$i]}
|
||||||
|
|
||||||
|
ARTIST=$(awk -F'/' '{print $5}' <<< ${links[$i]})
|
||||||
|
#echo "$ARTIST"
|
||||||
|
|
||||||
|
DESTINATION="./Artists/$ARTIST/%(id)s.%(ext)s"
|
||||||
|
echo "$DESTINATION"
|
||||||
|
yt-dlp --config-location ./yt-dlp_iwara.conf ${links[$i]} --output "$DESTINATION"
|
||||||
|
done
|
@ -1,24 +1,6 @@
|
|||||||
# best video and audio
|
|
||||||
-f "Source / 540 / 360"
|
-f "Source / 540 / 360"
|
||||||
|
|
||||||
# Thumbnail
|
|
||||||
#--write-thumbnail
|
|
||||||
--embed-thumbnail
|
--embed-thumbnail
|
||||||
|
|
||||||
# Embed info json
|
|
||||||
#--write-info-json
|
|
||||||
--embed-info-json
|
--embed-info-json
|
||||||
|
|
||||||
# Metadata
|
|
||||||
--embed-metadata
|
--embed-metadata
|
||||||
|
|
||||||
# Description
|
|
||||||
--write-description
|
|
||||||
|
|
||||||
# Concurrent download of fragments
|
|
||||||
--concurrent-fragments 8
|
--concurrent-fragments 8
|
||||||
|
|
||||||
# Cache
|
|
||||||
--cache-dir ./cache
|
|
||||||
|
|
||||||
--remux-video mkv
|
--remux-video mkv
|
||||||
|
Reference in New Issue
Block a user