mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 07:47:08 -05:00 
			
		
		
		
	[openload] Relax _VALID_URL
[openload] added to _TESTS, removed escape
This commit is contained in:
		@@ -14,7 +14,7 @@ from ..utils import (
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class OpenloadIE(InfoExtractor):
 | 
			
		||||
    _VALID_URL = r'https://openload.(?:co|io)/(?:f|embed)/(?P<id>[a-zA-Z0-9-]+)'
 | 
			
		||||
    _VALID_URL = r'https://openload.(?:co|io)/(?:f|embed)/(?P<id>[a-zA-Z0-9-_]+)'
 | 
			
		||||
 | 
			
		||||
    _TESTS = [{
 | 
			
		||||
        'url': 'https://openload.co/f/kUEfGclsU9o',
 | 
			
		||||
@@ -31,6 +31,9 @@ class OpenloadIE(InfoExtractor):
 | 
			
		||||
    }, {
 | 
			
		||||
        'url': 'https://openload.io/f/ZAn6oz-VZGE/',
 | 
			
		||||
        'only_matching': True,
 | 
			
		||||
    }, {
 | 
			
		||||
        'url': 'https://openload.co/f/_-ztPaZtMhM/',
 | 
			
		||||
        'only_matching': True,
 | 
			
		||||
    }, {
 | 
			
		||||
        # unavailable via https://openload.co/f/Sxz5sADo82g/, different layout
 | 
			
		||||
        # for title and ext
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user