1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-06-02 18:39:29 +00:00

follow coding conventions

This commit is contained in:
Niyazi Suleymanov 2022-07-17 01:51:53 +04:00
parent f6c4b9da47
commit c848538aff

View file

@ -92,10 +92,9 @@ class NewgroundsIE(InfoExtractor):
formats.append({
'url': sources[source][i]['src'],
'format_id': source,
'height': int(source[:-2]) # 1080p -> 1080
'height': int(source[:-2]) # 1080p -> 1080
})
title = self._html_search_regex(
r'<title>([^>]+)</title>', webpage, 'title')
timestamp = unified_timestamp(self._html_search_regex(