mirror of
				https://github.com/recloudstream/cloudstream.git
				synced 2024-08-15 01:53:11 +00:00 
			
		
		
		
	Update Vidmoly.kt
This commit is contained in:
		
							parent
							
								
									6cef9f7ea2
								
							
						
					
					
						commit
						935326edc9
					
				
					 1 changed files with 6 additions and 2 deletions
				
			
		|  | @ -25,9 +25,13 @@ open class Vidmoly : ExtractorApi() { | |||
|         subtitleCallback: (SubtitleFile) -> Unit, | ||||
|         callback: (ExtractorLink) -> Unit | ||||
|     ) { | ||||
| 
 | ||||
|         val headers  = mapOf( | ||||
|             "User-Agent"     to "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Mobile Safari/537.36", | ||||
|             "Sec-Fetch-Dest" to "iframe" | ||||
|         ) | ||||
|         val script = app.get( | ||||
|             url, | ||||
|             headers = headers, | ||||
|             referer = referer, | ||||
|         ).document.select("script") | ||||
|             .find { it.data().contains("sources:") }?.data() | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue