1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-12-05 14:47:55 +01:00

[InstagramSaved] add test

This commit is contained in:
Andrew Udvare 2019-01-27 21:49:48 -05:00
parent 5e452ad00d
commit 1bd46156c0
No known key found for this signature in database
GPG Key ID: 1AFD9AFC120C26DD

View File

@ -360,6 +360,18 @@ class InstagramSavedIE(InstagramPlaylistIE):
_VALID_URL = r'https?://(?:www\.)?instagram\.com/(?P<id>[^/]{2,})/saved/?(?:$|[?#])' _VALID_URL = r'https?://(?:www\.)?instagram\.com/(?P<id>[^/]{2,})/saved/?(?:$|[?#])'
IE_DESC = 'Instagram saved media' IE_DESC = 'Instagram saved media'
IE_NAME = 'instagram:saved' IE_NAME = 'instagram:saved'
_TEST = {
'url': 'https://www.instagram.com/tatsh2dx/saved/',
'info_dict': {
'id': 'tatsh2dx',
'title': 'tatsh2dx',
},
'playlist_count': 5,
'params': {
'skip_download': True,
'playlistend': 5,
}
}
_QUERY_HASH = '8c86fed24fa03a8a2eea2a70a80c7b6b' _QUERY_HASH = '8c86fed24fa03a8a2eea2a70a80c7b6b'