0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-25 02:45:12 +00: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) _VALID_URL = r'''(?x)
https?://(?:.+?\.)?xvideos\.(?:com|es)/ https?://(?:.+?\.)?xvideos\.(?:com|es)/
(?P<page_path>(?:channels|amateur-channels|model-channels|pornstar-channels|profiles)/ (?P<page_path>(?:channels|amateur-channels|model-channels|pornstar-channels|profiles)/
(?P<id>[^/?#&]+))((?:(?!\#quickies).)+)?$''' (?P<id>[^/?#&]+))(?:(?:(?!\#quickies).)+)?$'''
_TESTS = [{ _TESTS = [{
# channel; "Most viewed" # channel; "Most viewed"
'url': 'https://www.xvideos.com/channels/college_girls_gone_bad#_tabVideos,rating', 'url': 'https://www.xvideos.com/channels/college_girls_gone_bad#_tabVideos,rating',