mirror of https://github.com/iv-org/invidious.git
Update hub topic URL
This commit is contained in:
parent
1435516a9c
commit
e4dc430c74
|
@ -201,7 +201,7 @@ def subscribe_pubsub(ucid, key, config)
|
||||||
|
|
||||||
body = {
|
body = {
|
||||||
"hub.callback" => "#{host_url}/feed/webhook/v1:#{time}:#{nonce}:#{OpenSSL::HMAC.hexdigest(:sha1, key, signature)}",
|
"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.verify" => "async",
|
||||||
"hub.mode" => "subscribe",
|
"hub.mode" => "subscribe",
|
||||||
"hub.lease_seconds" => "432000",
|
"hub.lease_seconds" => "432000",
|
||||||
|
|
Loading…
Reference in New Issue