mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-11-14 22:37:59 +09:00
[gamespot] Update test URL and modernize
This commit is contained in:
parent
dffcc2ea0c
commit
a2d5a4ee64
@ -15,11 +15,12 @@ from ..utils import (
|
|||||||
class GameSpotIE(InfoExtractor):
|
class GameSpotIE(InfoExtractor):
|
||||||
_VALID_URL = r'(?:http://)?(?:www\.)?gamespot\.com/.*-(?P<page_id>\d+)/?'
|
_VALID_URL = r'(?:http://)?(?:www\.)?gamespot\.com/.*-(?P<page_id>\d+)/?'
|
||||||
_TEST = {
|
_TEST = {
|
||||||
"url": "http://www.gamespot.com/arma-iii/videos/arma-iii-community-guide-sitrep-i-6410818/",
|
'url': 'http://www.gamespot.com/videos/arma-3-community-guide-sitrep-i/2300-6410818/',
|
||||||
"file": "gs-2300-6410818.mp4",
|
'md5': 'b2a30deaa8654fcccd43713a6b6a4825',
|
||||||
"md5": "b2a30deaa8654fcccd43713a6b6a4825",
|
'info_dict': {
|
||||||
"info_dict": {
|
'id': 'gs-2300-6410818',
|
||||||
"title": "Arma 3 - Community Guide: SITREP I",
|
'ext': 'mp4',
|
||||||
|
'title': 'Arma 3 - Community Guide: SITREP I',
|
||||||
'description': 'Check out this video where some of the basics of Arma 3 is explained.',
|
'description': 'Check out this video where some of the basics of Arma 3 is explained.',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user