mirror of
https://github.com/ihabunek/twitch-dl
synced 2024-08-30 18:32:25 +00:00
parent
f57612ffcc
commit
ff4a514b8a
@ -7,6 +7,7 @@ TEST_VIDEO_PATTERNS = [
|
|||||||
("702689313", "https://twitch.tv/videos/702689313"),
|
("702689313", "https://twitch.tv/videos/702689313"),
|
||||||
("702689313", "https://www.twitch.tv/videos/702689313"),
|
("702689313", "https://www.twitch.tv/videos/702689313"),
|
||||||
("702689313", "https://m.twitch.tv/videos/702689313"),
|
("702689313", "https://m.twitch.tv/videos/702689313"),
|
||||||
|
("2223719525", "https://www.twitch.tv/r0dn3y/video/2223719525"),
|
||||||
]
|
]
|
||||||
|
|
||||||
TEST_CLIP_PATTERNS = {
|
TEST_CLIP_PATTERNS = {
|
||||||
|
@ -85,6 +85,7 @@ def titlify(value: str) -> str:
|
|||||||
VIDEO_PATTERNS = [
|
VIDEO_PATTERNS = [
|
||||||
r"^(?P<id>\d+)?$",
|
r"^(?P<id>\d+)?$",
|
||||||
r"^https://(www\.|m\.)?twitch\.tv/videos/(?P<id>\d+)(\?.+)?$",
|
r"^https://(www\.|m\.)?twitch\.tv/videos/(?P<id>\d+)(\?.+)?$",
|
||||||
|
r"^https://(www\.|m\.)?twitch\.tv/\w+/video/(?P<id>\d+)(\?.+)?$",
|
||||||
]
|
]
|
||||||
|
|
||||||
CLIP_PATTERNS = [
|
CLIP_PATTERNS = [
|
||||||
|
Loading…
Reference in New Issue
Block a user