mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-03 22:57:08 -05:00 
			
		
		
		
	[appletrailers] Extend _VALID_URL (Closes #5027)
This commit is contained in:
		@@ -11,7 +11,7 @@ from ..utils import (
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
class AppleTrailersIE(InfoExtractor):
 | 
					class AppleTrailersIE(InfoExtractor):
 | 
				
			||||||
    _VALID_URL = r'https?://(?:www\.)?trailers\.apple\.com/trailers/(?P<company>[^/]+)/(?P<movie>[^/]+)'
 | 
					    _VALID_URL = r'https?://(?:www\.)?trailers\.apple\.com/(?:trailers|ca)/(?P<company>[^/]+)/(?P<movie>[^/]+)'
 | 
				
			||||||
    _TEST = {
 | 
					    _TEST = {
 | 
				
			||||||
        "url": "http://trailers.apple.com/trailers/wb/manofsteel/",
 | 
					        "url": "http://trailers.apple.com/trailers/wb/manofsteel/",
 | 
				
			||||||
        'info_dict': {
 | 
					        'info_dict': {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user