[ie/Rule34Video] Fix _VALID_URL (#9044)

Authored by: gmes78
This commit is contained in:
gmes78 2024-01-21 18:56:01 +00:00 committed by GitHub
parent 3e083191cd
commit c0ecceeefe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -18,10 +18,10 @@
class Rule34VideoIE(InfoExtractor): class Rule34VideoIE(InfoExtractor):
_VALID_URL = r'https?://(?:www\.)?rule34video\.com/videos/(?P<id>\d+)' _VALID_URL = r'https?://(?:www\.)?rule34video\.com/videos?/(?P<id>\d+)'
_TESTS = [ _TESTS = [
{ {
'url': 'https://rule34video.com/videos/3065157/shot-it-mmd-hmv/', 'url': 'https://rule34video.com/video/3065157/shot-it-mmd-hmv/',
'md5': 'ffccac2c23799dabbd192621ae4d04f3', 'md5': 'ffccac2c23799dabbd192621ae4d04f3',
'info_dict': { 'info_dict': {
'id': '3065157', 'id': '3065157',