mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +00:00
Fix typo in pubsub update
This commit is contained in:
parent
ae10052aaf
commit
b9c7501012
1 changed files with 1 additions and 1 deletions
|
@ -2361,7 +2361,7 @@ post "/feed/webhook/:token" do |env|
|
||||||
rss = XML.parse_html(body)
|
rss = XML.parse_html(body)
|
||||||
rss.xpath_nodes("//feed/entry").each do |entry|
|
rss.xpath_nodes("//feed/entry").each do |entry|
|
||||||
id = entry.xpath_node("videoid").not_nil!.content
|
id = entry.xpath_node("videoid").not_nil!.content
|
||||||
published = Time.parse_rfc3339(entry.xpath_node("updated").not_nil!.content)
|
published = Time.parse_rfc3339(entry.xpath_node("published").not_nil!.content)
|
||||||
updated = Time.parse_rfc3339(entry.xpath_node("updated").not_nil!.content)
|
updated = Time.parse_rfc3339(entry.xpath_node("updated").not_nil!.content)
|
||||||
|
|
||||||
video = get_video(id, PG_DB, proxies, region: nil)
|
video = get_video(id, PG_DB, proxies, region: nil)
|
||||||
|
|
Loading…
Reference in a new issue