mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-06-30 11:02:51 -05:00
[extractor/generic:3qsdn] Add support for embeds
This commit is contained in:
@ -61,6 +61,7 @@ from .jwplatform import JWPlatformIE
|
||||
from .digiteka import DigitekaIE
|
||||
from .instagram import InstagramIE
|
||||
from .liveleak import LiveLeakIE
|
||||
from .threeqsdn import ThreeQSDNIE
|
||||
|
||||
|
||||
class GenericIE(InfoExtractor):
|
||||
@ -1983,6 +1984,11 @@ class GenericIE(InfoExtractor):
|
||||
if liveleak_url:
|
||||
return self.url_result(liveleak_url, 'LiveLeak')
|
||||
|
||||
# Look for 3Q SDN embeds
|
||||
threeqsdn_url = ThreeQSDNIE._extract_url(webpage)
|
||||
if threeqsdn_url:
|
||||
return self.url_result(self._proto_relative_url(threeqsdn_url), ThreeQSDNIE.ie_key())
|
||||
|
||||
def check_video(vurl):
|
||||
if YoutubeIE.suitable(vurl):
|
||||
return True
|
||||
|
Reference in New Issue
Block a user