aboutsummaryrefslogtreecommitdiffhomepage
path: root/youtube_dl/extractor/generic.py
diff options
context:
space:
mode:
authorRemita Amine <[email protected]>2017-05-12 16:17:32 +0100
committerRemita Amine <[email protected]>2017-05-12 16:37:09 +0100
commit6c52477f595176d16f063407bcf44439b9c26022 (patch)
treed9b4eccd18bf6fb6372ad00c428dd0c4f869b08c /youtube_dl/extractor/generic.py
parent116283ff640ec77de7359ddaffaa8dfbb50f6e17 (diff)
downloadyoutube-dl-6c52477f595176d16f063407bcf44439b9c26022.tar.gz
youtube-dl-6c52477f595176d16f063407bcf44439b9c26022.zip
[condenast] improve embed support
Diffstat (limited to 'youtube_dl/extractor/generic.py')
-rw-r--r--youtube_dl/extractor/generic.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py
index b06f43446..635043c9e 100644
--- a/youtube_dl/extractor/generic.py
+++ b/youtube_dl/extractor/generic.py
@@ -2146,22 +2146,6 @@ class GenericIE(InfoExtractor):
if svt_url:
return self.url_result(svt_url, 'SVT')
- # Look for embedded condenast player
- matches = re.findall(
- r'<iframe\s+(?:[a-zA-Z-]+="[^"]+"\s+)*?src="(https?://player\.cnevids\.com/embed/[^"]+")',
- webpage)
- if matches:
- return {
- '_type': 'playlist',
- 'entries': [{
- '_type': 'url',
- 'ie_key': 'CondeNast',
- 'url': ma,
- } for ma in matches],
- 'title': video_title,
- 'id': video_id,
- }
-
# Look for Bandcamp pages with custom domain
mobj = re.search(r'<meta property="og:url"[^>]*?content="(.*?bandcamp\.com.*?)"', webpage)
if mobj is not None: