Revert 1000MB ytdl cap to 100
This commit is contained in:
parent
c045bf5684
commit
5471bbb810
1 changed files with 6 additions and 6 deletions
|
@ -37,11 +37,11 @@ class YoutubeDLModule(niobot.Module):
|
||||||
"1080p": "bv[width<=1080]+ba[ext=webm]/bv[width<=1080]+ba[ext=m4a]/bv[width<=1080]+ba",
|
"1080p": "bv[width<=1080]+ba[ext=webm]/bv[width<=1080]+ba[ext=m4a]/bv[width<=1080]+ba",
|
||||||
"1440p": "bv[width<=1440]+ba[ext=webm]/bv[width<=1440]+ba[ext=m4a]/bv[width<=1440]+ba",
|
"1440p": "bv[width<=1440]+ba[ext=webm]/bv[width<=1440]+ba[ext=m4a]/bv[width<=1440]+ba",
|
||||||
"2160p": "bv[width<=2160]+ba[ext=webm]/bv[width<=2160]+ba[ext=m4a]/bv[width<=2160]+ba",
|
"2160p": "bv[width<=2160]+ba[ext=webm]/bv[width<=2160]+ba[ext=m4a]/bv[width<=2160]+ba",
|
||||||
"mp3": "ba[filesize<1000M]",
|
"mp3": "ba[filesize<100M]",
|
||||||
"m4a": "ba[ext=m4a][filesize<1000M]",
|
"m4a": "ba[ext=m4a][filesize<100M]",
|
||||||
"opus": "ba[ext=webm][filesize<1000M]",
|
"opus": "ba[ext=webm][filesize<100M]",
|
||||||
"vorbis": "ba[ext=webm][filesize<1000M]",
|
"vorbis": "ba[ext=webm][filesize<100M]",
|
||||||
"ogg": "ba[ext=webm][filesize<1000M]",
|
"ogg": "ba[ext=webm][filesize<100M]",
|
||||||
}
|
}
|
||||||
self.default_options = {
|
self.default_options = {
|
||||||
"noplaylist": True,
|
"noplaylist": True,
|
||||||
|
@ -49,7 +49,7 @@ class YoutubeDLModule(niobot.Module):
|
||||||
"no_color": True,
|
"no_color": True,
|
||||||
"noprogress": True,
|
"noprogress": True,
|
||||||
"logger": self.log,
|
"logger": self.log,
|
||||||
"format": "((bv+ba/b)[vcodec!=h265][filesize<1000M]/b[filesize<=1000M]/b)",
|
"format": "((bv+ba/b)[vcodec!=h265][filesize<100M]/b[filesize<=100M]/b)",
|
||||||
"outtmpl": "%(title).50s.%(ext)s",
|
"outtmpl": "%(title).50s.%(ext)s",
|
||||||
"format_sort": [
|
"format_sort": [
|
||||||
"vcodec:h264",
|
"vcodec:h264",
|
||||||
|
|
Loading…
Reference in a new issue