[behance] fix video extraction (#5965)

a lot slower than before since each video now requires an extra HTTP
request and 'sleep-request' is set to 2s-4s by default.

it now also requires ytdl.
This commit is contained in:
Mike Fährmann
2024-08-10 11:06:54 +02:00
parent 9783d95585
commit 6e7da6310c
2 changed files with 15 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ __tests__ = (
"Place Studio",
"Julio César Velazquez",
],
"fields": [
"?fields": [
"Animation",
"Character Design",
"Directing",
@@ -59,7 +59,7 @@ __tests__ = (
"#comment" : "'video' modules (#1282)",
"#category": ("", "behance", "gallery"),
"#class" : behance.BehanceGalleryExtractor,
"#pattern" : r"https://cdn-prod-ccv\.adobe\.com/\w+/rend/\w+_720\.mp4\?",
"#pattern" : r"ytdl:https://cdn-prod-ccv\.adobe\.com/\w+/rend/master\.m3u8\?",
"#count" : 3,
},