mirror of
				https://github.com/TeamNewPipe/NewPipe
				synced 2025-10-30 23:03:00 +00:00 
			
		
		
		
	Fix banner extaction
This commit is contained in:
		| @@ -136,7 +136,7 @@ public class YoutubeChannelExtractor extends ChannelExtractor { | |||||||
|             if(!isAjaxPage) { |             if(!isAjaxPage) { | ||||||
|                 Element el = doc.select("div[id=\"gh-banner\"]").first().select("style").first(); |                 Element el = doc.select("div[id=\"gh-banner\"]").first().select("style").first(); | ||||||
|                 String cssContent = el.html(); |                 String cssContent = el.html(); | ||||||
|                 String url = "https:" + Parser.matchGroup1("url\\((.*)\\)", cssContent); |                 String url = "https:" + Parser.matchGroup1("url\\(([^)]+)\\)", cssContent); | ||||||
|                 if (url.contains("s.ytimg.com")) { |                 if (url.contains("s.ytimg.com")) { | ||||||
|                     bannerUrl = null; |                     bannerUrl = null; | ||||||
|                 } else { |                 } else { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Coffeemakr
					Coffeemakr