summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2019-03-05 13:46:08 -0600
committerOmar Roth <omarroth@hotmail.com>2019-03-05 13:46:08 -0600
commite4dc430c740870399504a9641a0fb10ffced79f5 (patch)
tree061ea9caf0557e04fa16e7754172a8652349a33e
parent1435516a9cead37ecdbab56cc4e8396ad0aaae95 (diff)
downloadinvidious-e4dc430c740870399504a9641a0fb10ffced79f5.tar.gz
invidious-e4dc430c740870399504a9641a0fb10ffced79f5.tar.bz2
invidious-e4dc430c740870399504a9641a0fb10ffced79f5.zip
Update hub topic URL
-rw-r--r--src/invidious/channels.cr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/invidious/channels.cr b/src/invidious/channels.cr
index 5ce9775f..484aac2f 100644
--- a/src/invidious/channels.cr
+++ b/src/invidious/channels.cr
@@ -201,7 +201,7 @@ def subscribe_pubsub(ucid, key, config)
body = {
"hub.callback" => "#{host_url}/feed/webhook/v1:#{time}:#{nonce}:#{OpenSSL::HMAC.hexdigest(:sha1, key, signature)}",
- "hub.topic" => "https://www.youtube.com/feeds/videos.xml?channel_id=#{ucid}",
+ "hub.topic" => "https://www.youtube.com/xml/feeds/videos.xml?channel_id=#{ucid}",
"hub.verify" => "async",
"hub.mode" => "subscribe",
"hub.lease_seconds" => "432000",