mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-08-16 17:38:29 +00:00
RuutuIE
This commit is contained in:
parent
02b149ec2a
commit
5fd850ff4a
@ -1081,16 +1081,6 @@ class GenericIE(InfoExtractor):
|
|||||||
'title': 'Охотское море стало целиком российским',
|
'title': 'Охотское море стало целиком российским',
|
||||||
},
|
},
|
||||||
'skip': 'Invalid URL',
|
'skip': 'Invalid URL',
|
||||||
}, {
|
|
||||||
# 🔧92
|
|
||||||
# RuutuIE
|
|
||||||
'url': 'https://www.hs.fi/maailma/art-2000011353059.html',
|
|
||||||
'info_dict': {
|
|
||||||
'id': '4746675',
|
|
||||||
'ext': 'mp4',
|
|
||||||
'title': 'Yhdysvaltojen Texasin osavaltiota ovat koetelleet tuhoisat tulvat',
|
|
||||||
},
|
|
||||||
'skip': 'IE fix required',
|
|
||||||
}, {
|
}, {
|
||||||
# ✅124
|
# ✅124
|
||||||
# YoutubeIE
|
# YoutubeIE
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
|
|
||||||
|
|
||||||
class RuutuIE(InfoExtractor):
|
class RuutuIE(InfoExtractor):
|
||||||
|
_WORKING = False
|
||||||
_VALID_URL = r'''(?x)
|
_VALID_URL = r'''(?x)
|
||||||
https?://
|
https?://
|
||||||
(?:
|
(?:
|
||||||
@ -26,8 +27,7 @@ class RuutuIE(InfoExtractor):
|
|||||||
)
|
)
|
||||||
(?P<id>\d+)
|
(?P<id>\d+)
|
||||||
'''
|
'''
|
||||||
_TESTS = [
|
_TESTS = [{
|
||||||
{
|
|
||||||
'url': 'http://www.ruutu.fi/video/2058907',
|
'url': 'http://www.ruutu.fi/video/2058907',
|
||||||
'md5': 'ab2093f39be1ca8581963451b3c0234f',
|
'md5': 'ab2093f39be1ca8581963451b3c0234f',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
@ -40,8 +40,7 @@ class RuutuIE(InfoExtractor):
|
|||||||
'age_limit': 0,
|
'age_limit': 0,
|
||||||
'upload_date': '20150508',
|
'upload_date': '20150508',
|
||||||
},
|
},
|
||||||
},
|
}, {
|
||||||
{
|
|
||||||
'url': 'http://www.ruutu.fi/video/2057306',
|
'url': 'http://www.ruutu.fi/video/2057306',
|
||||||
'md5': '065a10ae4d5b8cfd9d0c3d332465e3d9',
|
'md5': '065a10ae4d5b8cfd9d0c3d332465e3d9',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
@ -56,8 +55,7 @@ class RuutuIE(InfoExtractor):
|
|||||||
'series': 'Superpesis',
|
'series': 'Superpesis',
|
||||||
'categories': ['Urheilu'],
|
'categories': ['Urheilu'],
|
||||||
},
|
},
|
||||||
},
|
}, {
|
||||||
{
|
|
||||||
'url': 'http://www.supla.fi/supla/2231370',
|
'url': 'http://www.supla.fi/supla/2231370',
|
||||||
'md5': 'df14e782d49a2c0df03d3be2a54ef949',
|
'md5': 'df14e782d49a2c0df03d3be2a54ef949',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
@ -70,14 +68,12 @@ class RuutuIE(InfoExtractor):
|
|||||||
'upload_date': '20151012',
|
'upload_date': '20151012',
|
||||||
'series': 'Läpivalaisu',
|
'series': 'Läpivalaisu',
|
||||||
},
|
},
|
||||||
},
|
}, {
|
||||||
# Episode where <SourceFile> is "NOT-USED", but has other
|
# Episode where <SourceFile> is "NOT-USED", but has other
|
||||||
# downloadable sources available.
|
# downloadable sources available.
|
||||||
{
|
|
||||||
'url': 'http://www.ruutu.fi/video/3193728',
|
'url': 'http://www.ruutu.fi/video/3193728',
|
||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
},
|
}, {
|
||||||
{
|
|
||||||
# audio podcast
|
# audio podcast
|
||||||
'url': 'https://www.supla.fi/supla/3382410',
|
'url': 'https://www.supla.fi/supla/3382410',
|
||||||
'md5': 'b9d7155fed37b2ebf6021d74c4b8e908',
|
'md5': 'b9d7155fed37b2ebf6021d74c4b8e908',
|
||||||
@ -96,16 +92,13 @@ class RuutuIE(InfoExtractor):
|
|||||||
'HTTP Error 502: Bad Gateway',
|
'HTTP Error 502: Bad Gateway',
|
||||||
'Failed to download m3u8 information',
|
'Failed to download m3u8 information',
|
||||||
],
|
],
|
||||||
},
|
}, {
|
||||||
{
|
|
||||||
'url': 'http://www.supla.fi/audio/2231370',
|
'url': 'http://www.supla.fi/audio/2231370',
|
||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
},
|
}, {
|
||||||
{
|
|
||||||
'url': 'https://static.nelonenmedia.fi/player/misc/embed_player.html?nid=3618790',
|
'url': 'https://static.nelonenmedia.fi/player/misc/embed_player.html?nid=3618790',
|
||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
},
|
}, {
|
||||||
{
|
|
||||||
# episode
|
# episode
|
||||||
'url': 'https://www.ruutu.fi/video/3401964',
|
'url': 'https://www.ruutu.fi/video/3401964',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
@ -125,13 +118,20 @@ class RuutuIE(InfoExtractor):
|
|||||||
'params': {
|
'params': {
|
||||||
'skip_download': True,
|
'skip_download': True,
|
||||||
},
|
},
|
||||||
},
|
}, {
|
||||||
{
|
|
||||||
# premium
|
# premium
|
||||||
'url': 'https://www.ruutu.fi/video/3618715',
|
'url': 'https://www.ruutu.fi/video/3618715',
|
||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
|
}]
|
||||||
|
_WEBPAGE_TESTS = [{
|
||||||
|
'url': 'https://www.hs.fi/maailma/art-2000011353059.html',
|
||||||
|
'info_dict': {
|
||||||
|
'id': '4746675',
|
||||||
|
'ext': 'mp4',
|
||||||
|
'title': 'Yhdysvaltojen Texasin osavaltiota ovat koetelleet tuhoisat tulvat',
|
||||||
},
|
},
|
||||||
]
|
'skip': 'IE fix required',
|
||||||
|
}]
|
||||||
_API_BASE = 'https://gatling.nelonenmedia.fi'
|
_API_BASE = 'https://gatling.nelonenmedia.fi'
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
Loading…
Reference in New Issue
Block a user