mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-11-02 16:37:59 +09:00
Cleanup after running flake8 again.
This commit is contained in:
parent
1ac23b7d8c
commit
ad49e65d1e
@ -49,10 +49,10 @@ class Pac12IE(InfoExtractor):
|
||||
title = self._html_search_regex(r'<title>(.+?)</title>',
|
||||
webpage, 'title')
|
||||
description = self._og_search_description(webpage, default=None)
|
||||
if description == None:
|
||||
if description is None:
|
||||
d = self._search_regex(r'"description":"(?P<description>[^"]+)"',
|
||||
webpage, 'description', default=None)
|
||||
if d != None:
|
||||
if d is not None:
|
||||
description = d.encode('utf-8').decode('unicode_escape')
|
||||
return {
|
||||
'id': video_id,
|
||||
|
Loading…
Reference in New Issue
Block a user