mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-08-21 13:54:22 -07:00
PEP8: applied even more rules
This commit is contained in:
parent
2514d2635e
commit
9e1a5b8455
77 changed files with 227 additions and 223 deletions
|
@ -31,7 +31,7 @@ class PhotobucketIE(InfoExtractor):
|
|||
# Extract URL, uploader, and title from webpage
|
||||
self.report_extraction(video_id)
|
||||
info_json = self._search_regex(r'Pb\.Data\.Shared\.put\(Pb\.Data\.Shared\.MEDIA, (.*?)\);',
|
||||
webpage, 'info json')
|
||||
webpage, 'info json')
|
||||
info = json.loads(info_json)
|
||||
url = compat_urllib_parse.unquote(self._html_search_regex(r'file=(.+\.mp4)', info['linkcodes']['html'], 'url'))
|
||||
return {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue