Skip to content

Commit

Permalink
[rudo] remove extractor(closes #18430)(closes #18474)
Browse files Browse the repository at this point in the history
Covered by generic extractor
  • Loading branch information
remitamine authored and Lamieur committed Aug 3, 2019
1 parent 49b094f commit d350eb9
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 61 deletions.
19 changes: 12 additions & 7 deletions youtube_dl/extractor/biobiochiletv.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
ExtractorError,
remove_end,
)
from .rudo import RudoIE


class BioBioChileTVIE(InfoExtractor):
Expand Down Expand Up @@ -41,11 +40,15 @@ class BioBioChileTVIE(InfoExtractor):
}, {
'url': 'http://www.biobiochile.cl/noticias/bbtv/comentarios-bio-bio/2016/07/08/edecanes-del-congreso-figuras-decorativas-que-le-cuestan-muy-caro-a-los-chilenos.shtml',
'info_dict': {
'id': 'edecanes-del-congreso-figuras-decorativas-que-le-cuestan-muy-caro-a-los-chilenos',
'id': 'b4xd0LK3SK',
'ext': 'mp4',
'uploader': '(none)',
'upload_date': '20160708',
'title': 'Edecanes del Congreso: Figuras decorativas que le cuestan muy caro a los chilenos',
# TODO: fix url_transparent information overriding
# 'uploader': 'Juan Pablo Echenique',
'title': 'Comentario Oscar Cáceres',
},
'params': {
# empty m3u8 manifest
'skip_download': True,
},
}, {
'url': 'http://tv.biobiochile.cl/notas/2015/10/22/ninos-transexuales-de-quien-es-la-decision.shtml',
Expand All @@ -60,15 +63,17 @@ def _real_extract(self, url):

webpage = self._download_webpage(url, video_id)

rudo_url = RudoIE._extract_url(webpage)
rudo_url = self._search_regex(
r'<iframe[^>]+src=(?P<q1>[\'"])(?P<url>(?:https?:)?//rudo\.video/vod/[0-9a-zA-Z]+)(?P=q1)',
webpage, 'embed URL', None, group='url')
if not rudo_url:
raise ExtractorError('No videos found')

title = remove_end(self._og_search_title(webpage), ' - BioBioChile TV')

thumbnail = self._og_search_thumbnail(webpage)
uploader = self._html_search_regex(
r'<a[^>]+href=["\']https?://(?:busca|www)\.biobiochile\.cl/(?:lista/)?(?:author|autor)[^>]+>(.+?)</a>',
r'<a[^>]+href=["\'](?:https?://(?:busca|www)\.biobiochile\.cl)?/(?:lista/)?(?:author|autor)[^>]+>(.+?)</a>',
webpage, 'uploader', fatal=False)

return {
Expand Down
1 change: 0 additions & 1 deletion youtube_dl/extractor/extractors.py
Original file line number Diff line number Diff line change
Expand Up @@ -968,7 +968,6 @@
from .rtve import RTVEALaCartaIE, RTVELiveIE, RTVEInfantilIE, RTVELiveIE, RTVETelevisionIE
from .rtvnh import RTVNHIE
from .rtvs import RTVSIE
from .rudo import RudoIE
from .ruhd import RUHDIE
from .rutube import (
RutubeIE,
Expand Down
53 changes: 0 additions & 53 deletions youtube_dl/extractor/rudo.py

This file was deleted.

0 comments on commit d350eb9

Please sign in to comment.