mirror of
https://github.com/TeamNewPipe/NewPipe.git
synced 2024-11-22 11:02:35 +01:00
precisely target these URLs https://www.youtube.com/watch?v=mS1gstS6YS8
These URLs have a Path that always starts with "/watch" so no need for a pattern. Also, everything after the "?" is considered the "Query String", not the Path. Anything after a "#" is the "Feature String". The path matching in IntentFilters only see the Path, and nothing from the "Query String" or "Feature String". these are the available kinds of URLs: https://developer.apple.com/library/ios/featuredarticles/iPhoneURLScheme_Reference/YouTubeLinks/YouTubeLinks.html
This commit is contained in:
parent
28dd53ae50
commit
2a93e9bd2e
@ -42,7 +42,7 @@
|
||||
<data android:host="m.youtube.com" />
|
||||
<data android:host="www.youtube.com" />
|
||||
<data android:pathPrefix="/v/" />
|
||||
<data android:pathPattern="/?*#*/*watch" />
|
||||
<data android:pathPrefix="/watch" />
|
||||
</intent-filter>
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
Loading…
Reference in New Issue
Block a user