Made non-fatal

archive/recovered-github-prs
Joshua Lochner 4 years ago
parent 1fd12ae04d
commit 1525fa3814

@ -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…
Cancel
Save