[xvideos] support '/channels/' URLs (#5244)

This commit is contained in:
Mike Fährmann
2024-02-25 22:42:21 +01:00
parent c60ebc6519
commit 13443f40a3
2 changed files with 30 additions and 5 deletions

View File

@@ -41,6 +41,13 @@ __tests__ = (
"#class" : xvideos.XvideosGalleryExtractor,
},
{
"#url" : "https://www.xvideos.com/channels/pervertedcouple/photos/12",
"#comment" : "/channels/ URL (#5244)",
"#category": ("", "xvideos", "gallery"),
"#class" : xvideos.XvideosGalleryExtractor,
},
{
"#url" : "https://www.xvideos.com/profiles/pervertedcouple",
"#category": ("", "xvideos", "user"),
@@ -55,4 +62,22 @@ __tests__ = (
"#class" : xvideos.XvideosUserExtractor,
},
{
"#url" : "https://www.xvideos.com/channels/pervertedcouple",
"#category": ("", "xvideos", "user"),
"#class" : xvideos.XvideosUserExtractor,
},
{
"#url" : "https://www.xvideos.com/amateur-channels/pervertedcouple",
"#category": ("", "xvideos", "user"),
"#class" : xvideos.XvideosUserExtractor,
},
{
"#url" : "https://www.xvideos.com/model-channels/pervertedcouple",
"#category": ("", "xvideos", "user"),
"#class" : xvideos.XvideosUserExtractor,
},
)