Yet another YouTube video URL
This commit is contained in:
parent
55e45f0e08
commit
144bd87cec
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ class YoutubeBackend(BaseBackend, ICapVideo, ICapCollection):
|
|||
CONFIG = BackendConfig(Value('username', label='Email address', default=''),
|
||||
ValueBackendPassword('password', label='Password', default=''))
|
||||
|
||||
URL_RE = re.compile(r'^https?://(?:\w*\.?youtube(?:|-nocookie)\.com/(?:watch\?v=|v/)|youtu\.be\/|\w*\.?youtube\.com\/user\/\w+#p\/u\/\d+\/)([^\?&]+)')
|
||||
URL_RE = re.compile(r'^https?://(?:\w*\.?youtube(?:|-nocookie)\.com/(?:watch\?v=|embed/|v/)|youtu\.be\/|\w*\.?youtube\.com\/user\/\w+#p\/u\/\d+\/)([^\?&]+)')
|
||||
|
||||
def create_default_browser(self):
|
||||
password = None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue