Apply suggestions from code review

Co-authored-by: N/Ame <173015200+grqz@users.noreply.github.com>
pull/11027/head
Mozi 3 months ago committed by GitHub
parent eb98d9c020
commit 2761d7f271
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

Loading…
Cancel
Save