[tnaflix] Modernize
This commit is contained in:
		| @@ -51,9 +51,8 @@ class TNAFlixIE(InfoExtractor): | |||||||
|  |  | ||||||
|         age_limit = self._rta_search(webpage) |         age_limit = self._rta_search(webpage) | ||||||
|  |  | ||||||
|         duration = self._html_search_meta('duration', webpage, 'duration', default=None) |         duration = parse_duration(self._html_search_meta( | ||||||
|         if duration: |             'duration', webpage, 'duration', default=None)) | ||||||
|             duration = parse_duration(duration[1:]) |  | ||||||
|  |  | ||||||
|         cfg_url = self._proto_relative_url(self._html_search_regex( |         cfg_url = self._proto_relative_url(self._html_search_regex( | ||||||
|             self._CONFIG_REGEX, webpage, 'flashvars.config'), 'http:') |             self._CONFIG_REGEX, webpage, 'flashvars.config'), 'http:') | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Sergey M․
					Sergey M․