mirror of
				https://github.com/ytdl-org/youtube-dl
				synced 2025-10-31 09:43:32 +00:00 
			
		
		
		
	[NHK] Use new API URL
This commit is contained in:
		
							parent
							
								
									11665dd236
								
							
						
					
					
						commit
						8a158a936c
					
				| @ -8,7 +8,7 @@ from ..utils import urljoin | |||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| class NhkBaseIE(InfoExtractor): | class NhkBaseIE(InfoExtractor): | ||||||
|     _API_URL_TEMPLATE = 'https://api.nhk.or.jp/nhkworld/%sod%slist/v7a/%s/%s/%s/all%s.json' |     _API_URL_TEMPLATE = 'https://nwapi.nhk.jp/nhkworld/%sod%slist/v7b/%s/%s/%s/all%s.json' | ||||||
|     _BASE_URL_REGEX = r'https?://www3\.nhk\.or\.jp/nhkworld/(?P<lang>[a-z]{2})/ondemand' |     _BASE_URL_REGEX = r'https?://www3\.nhk\.or\.jp/nhkworld/(?P<lang>[a-z]{2})/ondemand' | ||||||
|     _TYPE_REGEX = r'/(?P<type>video|audio)/' |     _TYPE_REGEX = r'/(?P<type>video|audio)/' | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 dirkf
						dirkf