aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesus E <heckyel@riseup.net>2023-05-28 21:12:13 -0400
committerJesus E <heckyel@riseup.net>2023-05-28 21:12:13 -0400
commitba3714c86057dbc0da2e5e6ed1a132f292e32575 (patch)
tree6cc4d0750cd2222ef8e975506b9660cbba4fd554
parent14c8cf3f5b34a40fe019eb7c0b4a9dc47527d387 (diff)
downloadyt-local-ba3714c86057dbc0da2e5e6ed1a132f292e32575.tar.lz
yt-local-ba3714c86057dbc0da2e5e6ed1a132f292e32575.tar.xz
yt-local-ba3714c86057dbc0da2e5e6ed1a132f292e32575.zip
server.py: route any subdomain of googleusercontent.com &
ggpht.com Avatars no longer loaded after YouTube changed the subdomain. Fixes #163
-rw-r--r--server.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/server.py b/server.py
index c8e0d0e..66e3f80 100644
--- a/server.py
+++ b/server.py
@@ -169,8 +169,8 @@ site_handlers = {
'youtube-nocookie.com': yt_app,
'youtu.be': youtu_be,
'ytimg.com': proxy_site,
- 'yt3.ggpht.com': proxy_site,
- 'lh3.googleusercontent.com': proxy_site,
+ 'ggpht.com': proxy_site,
+ 'googleusercontent.com': proxy_site,
'sponsor.ajay.app': proxy_site,
'googlevideo.com': proxy_video,
}