1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-20 01:42:50 +01:00

Apply suggestions from code review

Co-authored-by: N/Ame <173015200+grqz@users.noreply.github.com>
This commit is contained in:
Mozi 2024-09-18 05:26:47 +00:00 committed by GitHub
parent eb98d9c020
commit 2761d7f271
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -236,7 +236,7 @@ class XVideosUserIE(InfoExtractor):
_VALID_URL = r'''(?x)
https?://(?:.+?\.)?xvideos\.(?:com|es)/
(?P<page_path>(?:channels|amateur-channels|model-channels|pornstar-channels|profiles)/
(?P<id>[^/?#&]+))((?:(?!\#quickies).)+)?$'''
(?P<id>[^/?#&]+))(?:(?:(?!\#quickies).)+)?$'''
_TESTS = [{
# channel; "Most viewed"
'url': 'https://www.xvideos.com/channels/college_girls_gone_bad#_tabVideos,rating',