HaarigerHarald / android-youtubeExtractor

Deprecated: Android based YouTube URL extractor and downloader
Other
877 stars 304 forks source link

Issue resolved #222

Open JosiYosi opened 2 years ago

JosiYosi commented 2 years ago

Old one: private static final String USER_AGENT = "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.115 Safari/537.36";

Change to a new one:

private static final String USER_AGENT = "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.98 Safari/537.36";

Basically as you can see, Chrome is updated to Chrome/97.0.4692.98. Safari is not changed yet.

https://github.com/HaarigerHarald/android-youtubeExtractor/blob/c9044efa3a0a986d85e13bc48d64377cc58d2cf5/youtubeExtractor/src/main/java/at/huber/youtubeExtractor/YouTubeExtractor.java#L60

Originally posted by @JMerchanFL in https://github.com/HaarigerHarald/android-youtubeExtractor/issues/218#issuecomment-1083414461