mirror of
				https://github.com/TeamNewPipe/NewPipe
				synced 2025-10-30 06:43:00 +00:00 
			
		
		
		
	seems to made it working
This commit is contained in:
		| @@ -78,7 +78,7 @@ public class YoutubeChannelExtractor extends ChannelExtractor { | |||||||
|                 userUrl = getUserUrl(channelDoc); |                 userUrl = getUserUrl(channelDoc); | ||||||
|             } |             } | ||||||
|  |  | ||||||
|             userUrl = userUrl + "/videos?veiw=0&flow=list&sort=dd&live_view=500"; |             userUrl = userUrl + "/videos?veiw=0&flow=list&sort=dd&live_view=10000"; | ||||||
|             String pageContent = downloader.download(userUrl); |             String pageContent = downloader.download(userUrl); | ||||||
|             doc = Jsoup.parse(pageContent, userUrl); |             doc = Jsoup.parse(pageContent, userUrl); | ||||||
|             nextPageUrl = getNextPageUrl(doc); |             nextPageUrl = getNextPageUrl(doc); | ||||||
| @@ -92,8 +92,12 @@ public class YoutubeChannelExtractor extends ChannelExtractor { | |||||||
|                 doc = Jsoup.parse(htmlDataRaw, nextPageUrl); |                 doc = Jsoup.parse(htmlDataRaw, nextPageUrl); | ||||||
|  |  | ||||||
|                 String nextPageHtmlDataRaw = ajaxData.getString("load_more_widget_html"); |                 String nextPageHtmlDataRaw = ajaxData.getString("load_more_widget_html"); | ||||||
|  |                 if(!nextPageHtmlDataRaw.isEmpty()) { | ||||||
|                     Document nextPageData = Jsoup.parse(nextPageHtmlDataRaw, nextPageUrl); |                     Document nextPageData = Jsoup.parse(nextPageHtmlDataRaw, nextPageUrl); | ||||||
|                 nextPageUrl = getNextPageUrl( nextPageData); |                     nextPageUrl = getNextPageUrl(nextPageData); | ||||||
|  |                 } else { | ||||||
|  |                     nextPageUrl = ""; | ||||||
|  |                 } | ||||||
|             } catch (JSONException e) { |             } catch (JSONException e) { | ||||||
|                 throw new ParsingException("Could not parse json data for next page", e); |                 throw new ParsingException("Could not parse json data for next page", e); | ||||||
|             } |             } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Christian Schabesberger
					Christian Schabesberger