Browse Source

[slashdot] Remove extractor

The generic ooyala detection works fine.
totalwebcasting
Jaime Marquínez Ferrándiz 11 years ago
parent
commit
bd3b5b8b10
2 changed files with 0 additions and 25 deletions
  1. +0
    -1
      youtube_dl/extractor/__init__.py
  2. +0
    -24
      youtube_dl/extractor/slashdot.py

+ 0
- 1
youtube_dl/extractor/__init__.py View File

@ -208,7 +208,6 @@ from .rutv import RUTVIE
from .savefrom import SaveFromIE
from .servingsys import ServingSysIE
from .sina import SinaIE
from .slashdot import SlashdotIE
from .slideshare import SlideshareIE
from .smotri import (
SmotriIE,


+ 0
- 24
youtube_dl/extractor/slashdot.py View File

@ -1,24 +0,0 @@
import re
from .common import InfoExtractor
class SlashdotIE(InfoExtractor):
_VALID_URL = r'https?://tv\.slashdot\.org/video/\?embed=(?P<id>.*?)(&|$)'
_TEST = {
u'add_ie': ['Ooyala'],
u'url': u'http://tv.slashdot.org/video/?embed=JscHMzZDplD0p-yNLOzTfzC3Q3xzJaUz',
u'file': u'JscHMzZDplD0p-yNLOzTfzC3Q3xzJaUz.mp4',
u'md5': u'd2222e7a4a4c1541b3e0cf732fb26735',
u'info_dict': {
u'title': u' Meet the Stampede Supercomputing Cluster\'s Administrator',
},
}
def _real_extract(self, url):
mobj = re.match(self._VALID_URL, url)
video_id = mobj.group('id')
webpage = self._download_webpage(url, video_id)
ooyala_url = self._search_regex(r'<script src="(.*?)"', webpage, 'ooyala url')
return self.url_result(ooyala_url, 'Ooyala')

Loading…
Cancel
Save