Did I find the right examples for you? yes no

All Samples(42)  |  Call(24)  |  Derive(0)  |  Import(18)

src/y/o/youtube_dl-2014.04.30.1/youtube_dl/YoutubeDL.py   youtube_dl(Download)
    import ctypes
 
from .utils import (
    compat_cookiejar,
    compat_http_client,
    def add_default_extra_info(self, ie_result, ie, url):
        self.add_extra_info(ie_result, {
            'extractor': ie.IE_NAME,
            'webpage_url': url,
            'webpage_url_basename': url_basename(url),
                    'extractor': ie_result['extractor'],
                    'webpage_url': ie_result['webpage_url'],
                    'webpage_url_basename': url_basename(ie_result['webpage_url']),
                    'extractor_key': ie_result['extractor_key'],
                }
                        'extractor': ie_result['extractor'],
                        'webpage_url': ie_result['webpage_url'],
                        'webpage_url_basename': url_basename(ie_result['webpage_url']),
                        'extractor_key': ie_result['extractor_key'],
                    })

src/y/o/youtube-dl-HEAD/youtube_dl/YoutubeDL.py   youtube-dl(Download)
    import ctypes
 
from .utils import (
    compat_cookiejar,
    compat_http_client,
    def add_default_extra_info(self, ie_result, ie, url):
        self.add_extra_info(ie_result, {
            'extractor': ie.IE_NAME,
            'webpage_url': url,
            'webpage_url_basename': url_basename(url),
                    'extractor': ie_result['extractor'],
                    'webpage_url': ie_result['webpage_url'],
                    'webpage_url_basename': url_basename(ie_result['webpage_url']),
                    'extractor_key': ie_result['extractor_key'],
                }
                        'extractor': ie_result['extractor'],
                        'webpage_url': ie_result['webpage_url'],
                        'webpage_url_basename': url_basename(ie_result['webpage_url']),
                        'extractor_key': ie_result['extractor_key'],
                    })

src/k/a/ka-lite-HEAD/python-packages/youtube_dl/YoutubeDL.py   ka-lite(Download)
    import ctypes
 
from .utils import (
    compat_cookiejar,
    compat_http_client,
                        'extractor': ie.IE_NAME,
                        'webpage_url': url,
                        'webpage_url_basename': url_basename(url),
                        'extractor_key': ie.ie_key(),
                    })
                    'extractor': ie_result['extractor'],
                    'webpage_url': ie_result['webpage_url'],
                    'webpage_url_basename': url_basename(ie_result['webpage_url']),
                    'extractor_key': ie_result['extractor_key'],
                }
                        'extractor': ie_result['extractor'],
                        'webpage_url': ie_result['webpage_url'],
                        'webpage_url_basename': url_basename(ie_result['webpage_url']),
                        'extractor_key': ie_result['extractor_key'],
                    })

src/y/o/youtube_dl-2014.04.30.1/youtube_dl/extractor/generic.py   youtube_dl(Download)
from .common import InfoExtractor
from .youtube import YoutubeIE
from ..utils import (
    compat_urllib_error,
    compat_urllib_parse,
                return {
                    'id': video_id,
                    'title': os.path.splitext(url_basename(url))[0],
                    'formats': [{
                        'format_id': m.group('format_id'),

src/y/o/youtube-dl-HEAD/youtube_dl/extractor/generic.py   youtube-dl(Download)
from .common import InfoExtractor
from .youtube import YoutubeIE
from ..utils import (
    compat_urllib_error,
    compat_urllib_parse,
                return {
                    'id': video_id,
                    'title': os.path.splitext(url_basename(url))[0],
                    'formats': [{
                        'format_id': m.group('format_id'),

src/k/a/ka-lite-HEAD/python-packages/youtube_dl/extractor/generic.py   ka-lite(Download)
from .common import InfoExtractor
from .youtube import YoutubeIE
from ..utils import (
    compat_urllib_error,
    compat_urllib_parse,
                return {
                    'id': video_id,
                    'title': os.path.splitext(url_basename(url))[0],
                    'formats': [{
                        'format_id': m.group('format_id'),

src/y/o/youtube_dl-2014.04.30.1/youtube_dl/extractor/mtv.py   youtube_dl(Download)
 
from .common import InfoExtractor
from ..utils import (
    compat_urllib_parse,
    compat_urllib_request,
    def _real_extract(self, url):
        title = url_basename(url)
        webpage = self._download_webpage(url, title)
        try:
            # the url can be http://media.mtvnservices.com/fb/{mgid}.swf
            # or http://media.mtvnservices.com/{mgid}
            og_url = self._og_search_video_url(webpage)
            mgid = url_basename(og_url)

src/y/o/youtube-dl-HEAD/youtube_dl/extractor/mtv.py   youtube-dl(Download)
 
from .common import InfoExtractor
from ..utils import (
    compat_urllib_parse,
    compat_urllib_request,
    def _real_extract(self, url):
        title = url_basename(url)
        webpage = self._download_webpage(url, title)
        try:
            # the url can be http://media.mtvnservices.com/fb/{mgid}.swf
            # or http://media.mtvnservices.com/{mgid}
            og_url = self._og_search_video_url(webpage)
            mgid = url_basename(og_url)

src/k/a/ka-lite-HEAD/python-packages/youtube_dl/extractor/mtv.py   ka-lite(Download)
 
from .common import InfoExtractor
from ..utils import (
    compat_urllib_parse,
    ExtractorError,
    def _real_extract(self, url):
        title = url_basename(url)
        webpage = self._download_webpage(url, title)
        try:
            # the url can be http://media.mtvnservices.com/fb/{mgid}.swf
            # or http://media.mtvnservices.com/{mgid}
            og_url = self._og_search_video_url(webpage)
            mgid = url_basename(og_url)

src/y/o/youtube_dl-2014.04.30.1/youtube_dl/extractor/smotri.py   youtube_dl(Download)
 
from .common import InfoExtractor
from ..utils import (
    compat_urllib_parse,
    compat_urllib_request,
        video_title = self._search_meta('name', video_page, 'title')
        if not video_title:
            video_title = os.path.splitext(url_basename(video_url))[0]
 
        video_description = self._search_meta('description', video_page)

  1 | 2  Next