Skip to content

Commit

Permalink
Update hub topic URL
Browse files Browse the repository at this point in the history
  • Loading branch information
omarroth committed Mar 5, 2019
1 parent 1435516 commit e4dc430
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/invidious/channels.cr
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit e4dc430

Please sign in to comment.