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
1 changed files with 1 additions and 1 deletions

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',