deniscerri / ytdlnis

Android Video/Audio Downloader app using yt-dlp
GNU General Public License v3.0
3.31k stars 117 forks source link

[FEATURE REQUEST] Option to register YTDLnis as a browser #447

Open NikunjKhangwal opened 4 months ago

NikunjKhangwal commented 4 months ago

I have a lot of apps in my phone and currently to share links i have to swipe a lot to find the right app. If the app can act like a browser then i can just click on a link and choose ytdlnis from there. The process will be much easier and faster. There's this app called Leon which has this feature (also written in Kotlin) if you can use it as a reference.

NikunjKhangwal commented 4 months ago

Yes the web address support get added in new update but this request is a bit different. The app supports only a handful of sites to open links from. As browser it can open any link. Put the link through share activity and open pop-up download card just like normal sharing.

zaednasr commented 4 months ago

image The app already has the browsable intents. So idk how leon handles this

NikunjKhangwal commented 4 months ago

Well I'm not a developer so i don't know how everything works. I just suggested it because i like the behavior

rajarshikhatua100 commented 1 month ago

so this app does very similar thing, you can set ytdlnis to open all or some supported links inside this app and you can set this app as a browser. now when you click links that you previously selected this app will open it for you in ytdlnis. also this app has all the Leon's stuff.i recomend using the nightly version of the app, you can find the links in their readme. also sidenote for devs: i tried opening yt links from Twitter but it uses - https://www.youtube.com , this format is not yet added, but that will be a quick fix

Screenshot_20240612-101205_LinkSheet Nightly Screenshot_20240612-101201_LinkSheet Nightly Screenshot_20240612-105823_LinkSheet Nightly

NikunjKhangwal commented 1 month ago

I'm actually already using LinkSheet. The issue was created before i discovered it. Yes, it does solve half the problem but for links supported by ytdlnis only. Yt-dlp supports hundreds of websites.

Either way now with linksheet, it's usable and the issue is probably too much of a headache for dev too so I'm closing it.

zaednasr commented 1 month ago

I'll have another crack at it

rajarshikhatua100 commented 1 month ago

another thing i forgot to mention, if you go the app info of ytdlnis > set as default > supported web addresses > you can turn on whatever you want. but remember if you have installed another app with those address which also verified (like official YouTube app) then your defaults with turn off automatically. in order to prevent this you have to go to the official app's app info and turn off 'open supported links' inside 'set as default'. but i believe it's not possible on Android 14 and above. so it's good to use LinkSheet app, and important note this app may require shizuku for some of its features, i am not sure which features but you can check.

NikunjKhangwal commented 1 month ago

Yeah I'm aware of verified links too. I does have SUI installed but Linksheet didn't needed it so far. Thanks