1
0
Fork 0

[cleanup, ie] Match both http and https in _VALID_URL (#8968)

Except for Vimeo, since that causes matching collisions.

Authored by: seproDev
This commit is contained in:
sepro 2024-02-01 19:38:42 +01:00 committed by pukkandan
commit a687226b48
No known key found for this signature in database
GPG key ID: 7EEE9E1E817D0A39
20 changed files with 28 additions and 28 deletions

View file

@ -224,7 +224,7 @@ class ViceShowIE(ViceBaseIE):
class ViceArticleIE(ViceBaseIE):
IE_NAME = 'vice:article'
_VALID_URL = r'https://(?:www\.)?vice\.com/(?P<locale>[^/]+)/article/(?:[0-9a-z]{6}/)?(?P<id>[^?#]+)'
_VALID_URL = r'https?://(?:www\.)?vice\.com/(?P<locale>[^/]+)/article/(?:[0-9a-z]{6}/)?(?P<id>[^?#]+)'
_TESTS = [{
'url': 'https://www.vice.com/en_us/article/on-set-with-the-woman-making-mormon-porn-in-utah',