Fix test and tests

This commit is contained in:
DrakoCpp 2024-05-12 23:45:52 +02:00
parent 0e275077bc
commit 32177253d3
1 changed files with 9 additions and 7 deletions

View File

@ -77,13 +77,15 @@ class MurrtubeUserIE(MurrtubeIE): # XXX: Do not subclass from concrete IE
_WORKING = False _WORKING = False
IE_DESC = 'Murrtube user profile' IE_DESC = 'Murrtube user profile'
_VALID_URL = r'https?://murrtube\.net/(?P<id>[^/]+)$' _VALID_URL = r'https?://murrtube\.net/(?P<id>[^/]+)$'
_TEST = { _TESTS = [
'url': 'https://murrtube.net/stormy', {
'info_dict': { 'url': 'https://murrtube.net/stormy',
'id': 'stormy', 'info_dict': {
}, 'id': 'stormy',
'playlist_mincount': 27, },
} 'playlist_mincount': 27,
}
]
_PAGE_SIZE = 10 _PAGE_SIZE = 10
def _fetch_page(self, username, user_id, page): def _fetch_page(self, username, user_id, page):