mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-11-04 08:35:12 +00:00 
			
		
		
		
	[toutv] add support special video urls(closes #14179)
This commit is contained in:
		@@ -16,7 +16,7 @@ from ..utils import (
 | 
				
			|||||||
class TouTvIE(InfoExtractor):
 | 
					class TouTvIE(InfoExtractor):
 | 
				
			||||||
    _NETRC_MACHINE = 'toutv'
 | 
					    _NETRC_MACHINE = 'toutv'
 | 
				
			||||||
    IE_NAME = 'tou.tv'
 | 
					    IE_NAME = 'tou.tv'
 | 
				
			||||||
    _VALID_URL = r'https?://ici\.tou\.tv/(?P<id>[a-zA-Z0-9_-]+(?:/S[0-9]+E[0-9]+)?)'
 | 
					    _VALID_URL = r'https?://ici\.tou\.tv/(?P<id>[a-zA-Z0-9_-]+(?:/S[0-9]+[EC][0-9]+)?)'
 | 
				
			||||||
    _access_token = None
 | 
					    _access_token = None
 | 
				
			||||||
    _claims = None
 | 
					    _claims = None
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -37,6 +37,9 @@ class TouTvIE(InfoExtractor):
 | 
				
			|||||||
    }, {
 | 
					    }, {
 | 
				
			||||||
        'url': 'http://ici.tou.tv/hackers',
 | 
					        'url': 'http://ici.tou.tv/hackers',
 | 
				
			||||||
        'only_matching': True,
 | 
					        'only_matching': True,
 | 
				
			||||||
 | 
					    }, {
 | 
				
			||||||
 | 
					        'url': 'https://ici.tou.tv/l-age-adulte/S01C501',
 | 
				
			||||||
 | 
					        'only_matching': True,
 | 
				
			||||||
    }]
 | 
					    }]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def _real_initialize(self):
 | 
					    def _real_initialize(self):
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user