Skip to content

Instantly share code, notes, and snippets.

Ashish Rawat eashish93

Block or report user

Report or block eashish93

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@eashish93
eashish93 / googledrive.py
Created Feb 23, 2017 — forked from remitamine/googledrive.py
youtube-dl extractor for Google Drive
View googledrive.py
from .common import InfoExtractor
from ..utils import RegexNotFoundError
class GoogleDriveIE(InfoExtractor):
_VALID_URL = r'(?:https?://)?(?:video\.google\.com/get_player\?.*?docid=|(?:docs|drive)\.google\.com/(?:uc\?.*?id=|file/d/))(?P<id>.+?)(?:&|/|$)'
_formats = {
'5': {'ext': 'flv'},
'6': {'ext': 'flv'},
'13': {'ext': '3gp'},
'17': {'ext': '3gp'},
You can’t perform that action at this time.