aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2020-12-06 19:26:45 -0500
committerJesús <heckyel@hyperbola.info>2020-12-06 19:26:45 -0500
commit99ebcf582924710711d888eb8dc147ef4746752a (patch)
treec7d2c7fd59d278de0cf90a631e2bc6347ba44c0d
parentf427a61ba6f4bb0685a007f44129fd198fb86ae4 (diff)
downloadytlibre-99ebcf582924710711d888eb8dc147ef4746752a.tar.lz
ytlibre-99ebcf582924710711d888eb8dc147ef4746752a.tar.xz
ytlibre-99ebcf582924710711d888eb8dc147ef4746752a.zip
Add av01 format
-rw-r--r--tools/extract.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/extract.php b/tools/extract.php
index dbf0f4b..5a6c033 100644
--- a/tools/extract.php
+++ b/tools/extract.php
@@ -264,6 +264,12 @@ function exformat($itag) {
case "397":
return "video";
break;
+ case "398":
+ return "av01, video, 720p";
+ break;
+ case "399":
+ return "av01, video, 1080p";
+ break;
default:
return $itag;
break;