mirror of
				https://github.com/TeamNewPipe/NewPipe
				synced 2025-10-26 21:07:38 +00:00 
			
		
		
		
	some post changes on the can't play fix.
This commit is contained in:
		| @@ -552,8 +552,7 @@ public class YoutubeVideoExtractor extends VideoExtractor { | |||||||
|             decryptionFuncName = matchGroup1("\\.sig\\|\\|([a-zA-Z0-9$]+)\\(", playerCode); |             decryptionFuncName = matchGroup1("\\.sig\\|\\|([a-zA-Z0-9$]+)\\(", playerCode); | ||||||
|  |  | ||||||
|             String functionPattern = "(" + decryptionFuncName.replace("$", "\\$") +"=function\\([a-zA-Z0-9_]*\\)\\{.+?\\})"; |             String functionPattern = "(" + decryptionFuncName.replace("$", "\\$") +"=function\\([a-zA-Z0-9_]*\\)\\{.+?\\})"; | ||||||
|             decryptionFunc = matchGroup1(functionPattern, playerCode); |             decryptionFunc = "var " + matchGroup1(functionPattern, playerCode) + ";"; | ||||||
|             decryptionFunc += ";"; |  | ||||||
|  |  | ||||||
|             helperObjectName = matchGroup1(";([A-Za-z0-9_\\$]{2})\\...\\(", decryptionFunc); |             helperObjectName = matchGroup1(";([A-Za-z0-9_\\$]{2})\\...\\(", decryptionFunc); | ||||||
|  |  | ||||||
| @@ -565,7 +564,7 @@ public class YoutubeVideoExtractor extends VideoExtractor { | |||||||
|         } |         } | ||||||
|  |  | ||||||
|         callerFunc = callerFunc.replace("%%", decryptionFuncName); |         callerFunc = callerFunc.replace("%%", decryptionFuncName); | ||||||
|         decryptionCode = helperObject + "var " + decryptionFunc + callerFunc; |         decryptionCode = helperObject + decryptionFunc + callerFunc; | ||||||
|  |  | ||||||
|         return decryptionCode; |         return decryptionCode; | ||||||
|     } |     } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Christian Schabesberger
					Christian Schabesberger