[tagesschau] Modernize
This commit is contained in:
		@@ -28,14 +28,8 @@ class TagesschauIE(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')
 | 
					        display_id = video_id.lstrip('-')
 | 
				
			||||||
 | 
					 | 
				
			||||||
        if video_id.startswith('-'):
 | 
					 | 
				
			||||||
            display_id = video_id.strip('-')
 | 
					 | 
				
			||||||
        else:
 | 
					 | 
				
			||||||
            display_id = video_id
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        webpage = self._download_webpage(url, display_id)
 | 
					        webpage = self._download_webpage(url, display_id)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        playerpage = self._download_webpage(
 | 
					        playerpage = self._download_webpage(
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user