mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-07 04:57:46 +08:00
Made non-fatal
This commit is contained in:
parent
1fd12ae04d
commit
1525fa3814
33
youtube_dl/__main__.spec
Normal file
33
youtube_dl/__main__.spec
Normal file
@ -0,0 +1,33 @@
|
||||
# -*- mode: python ; coding: utf-8 -*-
|
||||
|
||||
block_cipher = None
|
||||
|
||||
|
||||
a = Analysis(['__main__.py'],
|
||||
pathex=['D:\\joshu\\Xenova\\Projects\\youtube-dl\\youtube_dl'],
|
||||
binaries=[],
|
||||
datas=[],
|
||||
hiddenimports=[],
|
||||
hookspath=[],
|
||||
runtime_hooks=[],
|
||||
excludes=[],
|
||||
win_no_prefer_redirects=False,
|
||||
win_private_assemblies=False,
|
||||
cipher=block_cipher,
|
||||
noarchive=False)
|
||||
pyz = PYZ(a.pure, a.zipped_data,
|
||||
cipher=block_cipher)
|
||||
exe = EXE(pyz,
|
||||
a.scripts,
|
||||
a.binaries,
|
||||
a.zipfiles,
|
||||
a.datas,
|
||||
[],
|
||||
name='__main__',
|
||||
debug=False,
|
||||
bootloader_ignore_signals=False,
|
||||
strip=False,
|
||||
upx=True,
|
||||
upx_exclude=[],
|
||||
runtime_tmpdir=None,
|
||||
console=True )
|
@ -23,9 +23,9 @@ class XboxClipsIE(InfoExtractor):
|
||||
video_url = self._html_search_regex(
|
||||
r"<source src=\"(\S+)\"", webpage, 'URL')
|
||||
title = self._html_search_regex(
|
||||
r'<title>(.+?)</title>', webpage, 'title')
|
||||
r'<title>(.+?)</title>', webpage, 'title', fatal=False)
|
||||
uploader = self._html_search_regex(
|
||||
r'<h3>(.+?)</h3>', webpage, 'uploader')
|
||||
r'<h3>(.+?)</h3>', webpage, 'uploader', fatal=False)
|
||||
return {
|
||||
'id': video_id,
|
||||
'title': title,
|
||||
|
Loading…
x
Reference in New Issue
Block a user