aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/learnr.py
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2019-10-28 17:41:17 +0100
committerRemita Amine <remitamine@gmail.com>2019-10-28 17:41:17 +0100
commit831b732da1d0796a1927af8767d76af780cc90f0 (patch)
tree49e178a22772f0a24f7720c4f7ca72de579b5cd0 /youtube_dl/extractor/learnr.py
parent3e252cca0e81aef55b0288f86991bb566878a9fc (diff)
[learnr] remove extractor
Diffstat (limited to 'youtube_dl/extractor/learnr.py')
-rw-r--r--youtube_dl/extractor/learnr.py33
1 files changed, 0 insertions, 33 deletions
diff --git a/youtube_dl/extractor/learnr.py b/youtube_dl/extractor/learnr.py
deleted file mode 100644
index 1435e090e..000000000
--- a/youtube_dl/extractor/learnr.py
+++ /dev/null
@@ -1,33 +0,0 @@
-# coding: utf-8
-from __future__ import unicode_literals
-
-from .common import InfoExtractor
-
-
-class LearnrIE(InfoExtractor):
- _VALID_URL = r'https?://(?:www\.)?learnr\.pro/view/video/(?P<id>[0-9]+)'
- _TEST = {
- 'url': 'http://www.learnr.pro/view/video/51624-web-development-tutorial-for-beginners-1-how-to-build-webpages-with-html-css-javascript',
- 'md5': '3719fdf0a68397f49899e82c308a89de',
- 'info_dict': {
- 'id': '51624',
- 'ext': 'mp4',
- 'title': 'Web Development Tutorial for Beginners (#1) - How to build webpages with HTML, CSS, Javascript',
- 'description': 'md5:b36dbfa92350176cdf12b4d388485503',
- 'uploader': 'LearnCode.academy',
- 'uploader_id': 'learncodeacademy',
- 'upload_date': '20131021',
- },
- 'add_ie': ['Youtube'],
- }
-
- def _real_extract(self, url):
- video_id = self._match_id(url)
- webpage = self._download_webpage(url, video_id)
-
- return {
- '_type': 'url_transparent',
- 'url': self._search_regex(
- r"videoId\s*:\s*'([^']+)'", webpage, 'youtube id'),
- 'id': video_id,
- }