Delanoe Pirard commited on
Commit
2e6c005
·
1 Parent(s): 8afca57

cookies.txt

Browse files
Files changed (4) hide show
  1. agents/video_analyzer_agent.py +6 -1
  2. pyproject.toml +1 -0
  3. requirements.txt +2 -1
  4. uv.lock +23 -0
agents/video_analyzer_agent.py CHANGED
@@ -147,7 +147,12 @@ def download_video_and_analyze(video_url: str) -> str:
147
  'extract_flat': True,
148
  'ignoreerrors': True,
149
  'sleep_interval': 5,
150
- 'max_sleep_interval': 10
 
 
 
 
 
151
  }
152
 
153
  cookiefile = "cookies.txt"
 
147
  'extract_flat': True,
148
  'ignoreerrors': True,
149
  'sleep_interval': 5,
150
+ 'max_sleep_interval': 10,
151
+ 'extractor_args': {
152
+ 'youtube': {
153
+ 'formats': 'sabr'
154
+ }
155
+ }
156
  }
157
 
158
  cookiefile = "cookies.txt"
pyproject.toml CHANGED
@@ -51,4 +51,5 @@ dependencies = [
51
  "torchaudio>=2.7.0",
52
  "youtube-transcript-api>=1.0.3",
53
  "yt-dlp>=2025.3.31",
 
54
  ]
 
51
  "torchaudio>=2.7.0",
52
  "youtube-transcript-api>=1.0.3",
53
  "yt-dlp>=2025.3.31",
54
+ "yt-dlp-ytse>=0.4.3",
55
  ]
requirements.txt CHANGED
@@ -43,4 +43,5 @@ stockfish==3.28.0
43
  sympy>=1.14.0
44
  torchaudio>=2.7.0
45
  youtube-transcript-api>=1.0.3
46
- yt-dlp>=2025.3.31
 
 
43
  sympy>=1.14.0
44
  torchaudio>=2.7.0
45
  youtube-transcript-api>=1.0.3
46
+ yt-dlp>=2025.3.31
47
+ yt-dlp-ytse>=0.4.3
uv.lock CHANGED
@@ -922,6 +922,7 @@ dependencies = [
922
  { name = "torchaudio" },
923
  { name = "youtube-transcript-api" },
924
  { name = "yt-dlp" },
 
925
  ]
926
 
927
  [package.metadata]
@@ -973,6 +974,7 @@ requires-dist = [
973
  { name = "torchaudio", specifier = ">=2.7.0" },
974
  { name = "youtube-transcript-api", specifier = ">=1.0.3" },
975
  { name = "yt-dlp", specifier = ">=2025.3.31" },
 
976
  ]
977
 
978
  [[package]]
@@ -2803,6 +2805,15 @@ wheels = [
2803
  { url = "https://files.pythonhosted.org/packages/e5/a1/93c2acf4ade3c5b557d02d500b06798f4ed2c176fa03e3c34973ca92df7f/protobuf-6.30.2-py3-none-any.whl", hash = "sha256:ae86b030e69a98e08c77beab574cbcb9fff6d031d57209f574a5aea1445f4b51", size = 167062 },
2804
  ]
2805
 
 
 
 
 
 
 
 
 
 
2806
  [[package]]
2807
  name = "pyarrow"
2808
  version = "20.0.0"
@@ -4362,3 +4373,15 @@ sdist = { url = "https://files.pythonhosted.org/packages/75/ca/1d1a33dec2107463f
4362
  wheels = [
4363
  { url = "https://files.pythonhosted.org/packages/ea/18/bbccb18661a853c3db947152439229b9bf686fe0ab2cc7848ab3a24f2ad2/yt_dlp-2025.4.30-py3-none-any.whl", hash = "sha256:53cd82bf13f12a1fe9c564b0004e001156b153c9247fa3cef14d1400ab359150", size = 3239476 },
4364
  ]
 
 
 
 
 
 
 
 
 
 
 
 
 
922
  { name = "torchaudio" },
923
  { name = "youtube-transcript-api" },
924
  { name = "yt-dlp" },
925
+ { name = "yt-dlp-ytse" },
926
  ]
927
 
928
  [package.metadata]
 
974
  { name = "torchaudio", specifier = ">=2.7.0" },
975
  { name = "youtube-transcript-api", specifier = ">=1.0.3" },
976
  { name = "yt-dlp", specifier = ">=2025.3.31" },
977
+ { name = "yt-dlp-ytse", specifier = ">=0.4.3" },
978
  ]
979
 
980
  [[package]]
 
2805
  { url = "https://files.pythonhosted.org/packages/e5/a1/93c2acf4ade3c5b557d02d500b06798f4ed2c176fa03e3c34973ca92df7f/protobuf-6.30.2-py3-none-any.whl", hash = "sha256:ae86b030e69a98e08c77beab574cbcb9fff6d031d57209f574a5aea1445f4b51", size = 167062 },
2806
  ]
2807
 
2808
+ [[package]]
2809
+ name = "protobug"
2810
+ version = "0.3.0"
2811
+ source = { registry = "https://pypi.org/simple" }
2812
+ sdist = { url = "https://files.pythonhosted.org/packages/0d/15/fd03441a3075e6fc847c6c5fe337be4ed80f0241c4162b8258b4e4889b55/protobug-0.3.0.tar.gz", hash = "sha256:64666a3053792be3a4d917f8db47a1828e35aa6ca5d948ed90d9bcb61cef84f2", size = 11878 }
2813
+ wheels = [
2814
+ { url = "https://files.pythonhosted.org/packages/f2/cc/db26b91cddffbcf0c6df7834fd642578f737fe34197635ae8ea64643a35f/protobug-0.3.0-py3-none-any.whl", hash = "sha256:ee81583f376bb38e5e7af425d2453e5e8d4b57bfbf45e5dba1a75329c202652e", size = 11680 },
2815
+ ]
2816
+
2817
  [[package]]
2818
  name = "pyarrow"
2819
  version = "20.0.0"
 
4373
  wheels = [
4374
  { url = "https://files.pythonhosted.org/packages/ea/18/bbccb18661a853c3db947152439229b9bf686fe0ab2cc7848ab3a24f2ad2/yt_dlp-2025.4.30-py3-none-any.whl", hash = "sha256:53cd82bf13f12a1fe9c564b0004e001156b153c9247fa3cef14d1400ab359150", size = 3239476 },
4375
  ]
4376
+
4377
+ [[package]]
4378
+ name = "yt-dlp-ytse"
4379
+ version = "0.4.3"
4380
+ source = { registry = "https://pypi.org/simple" }
4381
+ dependencies = [
4382
+ { name = "protobug" },
4383
+ ]
4384
+ sdist = { url = "https://files.pythonhosted.org/packages/45/ca/50c4ae2098a8559f0d2fc248a0ed283e5f13fbd29f6ac320fba38b2d5296/yt_dlp_ytse-0.4.3.tar.gz", hash = "sha256:3294d7dfc9e45e4e6cbf6ef56ff0541342bbc871b840348d56c765b2d1ee90cf", size = 38216 }
4385
+ wheels = [
4386
+ { url = "https://files.pythonhosted.org/packages/a5/85/b73c1e9a05afdbefa6c1a3986cb4d875d4f5af2b76542ef969bbb1c57d9b/yt_dlp_ytse-0.4.3-py3-none-any.whl", hash = "sha256:882774bf48fdf5f5f8a1730df387957fc48b4ec439613c8d39909119cfe8aa38", size = 49459 },
4387
+ ]