mitchweaver / subs

:tv: YouTube subscription manager via dmenu and mpv, no Google account needed.
MIT License
68 stars 3 forks source link

Fix link generation #4

Closed tteeoo closed 4 years ago

tteeoo commented 4 years ago

Fixes the problem mentioned in #2 and #3.

The old method which channel IDs were obtained via username was unreliable. Occasionally it resulted in a big blob of json being put into your links file.

This patch fixes that by using a different method to get the channel ID from a username.

mitchweaver commented 4 years ago

:+1: :+1: :+1:

mitchweaver commented 4 years ago

Great idea!

I removed the external calls and made POSIX: https://github.com/mitchweaver/subs/commit/04b7a64c3844ae6a3db769f846fb1c166f8331bf