[novamov] Modernize
This commit is contained in:
		
							parent
							
								
									9eab37dca0
								
							
						
					
					
						commit
						699ed30cee
					
				| @ -42,8 +42,7 @@ class NovaMovIE(InfoExtractor): | |||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     def _real_extract(self, url): |     def _real_extract(self, url): | ||||||
|         mobj = re.match(self._VALID_URL, url) |         video_id = self._match_id(url) | ||||||
|         video_id = mobj.group('id') |  | ||||||
| 
 | 
 | ||||||
|         url = 'http://%s/video/%s' % (self._HOST, video_id) |         url = 'http://%s/video/%s' % (self._HOST, video_id) | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user