svenjacobs / leon

Android app for removing tracking parameters from shared URLs
GNU General Public License v3.0
238 stars 17 forks source link

YouTube time markings are removed #460

Closed guerda closed 2 months ago

guerda commented 2 months ago

If you clean a YouTube URL which contains a time mark (?t=), this time mark will be removed too.

Example: https://www.youtube.com/live/CK6pE4-8kCg?si=5Y1bV4klawydjKqM&t=17271 becomes https://www.youtube.com/live/CK6pE4-8kCg

It should become https://www.youtube.com/live/CK6pE4-8kCg?t=17271

It might be enough to add t to this list

RegexFactory.exceptParameter("(v|search_query|list)")
svenjacobs commented 2 months ago

Hello Philip,

thanks for the bug report. Yes, adding t should be enough. Do you want to create a PR? 😄

guerda commented 2 months ago

Great, thanks for the confirmation.

I will do once I get to a "big screen" computer 😁