mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-08-21 05:44:02 -07:00
follow coding conventions
This commit is contained in:
parent
f6c4b9da47
commit
c848538aff
1 changed files with 6 additions and 7 deletions
|
@ -92,10 +92,9 @@ class NewgroundsIE(InfoExtractor):
|
||||||
formats.append({
|
formats.append({
|
||||||
'url': sources[source][i]['src'],
|
'url': sources[source][i]['src'],
|
||||||
'format_id': source,
|
'format_id': source,
|
||||||
'height': int(source[:-2]) # 1080p -> 1080
|
'height': int(source[:-2]) # 1080p -> 1080
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
title = self._html_search_regex(
|
title = self._html_search_regex(
|
||||||
r'<title>([^>]+)</title>', webpage, 'title')
|
r'<title>([^>]+)</title>', webpage, 'title')
|
||||||
timestamp = unified_timestamp(self._html_search_regex(
|
timestamp = unified_timestamp(self._html_search_regex(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue