remove a debug statement

This commit is contained in:
Ulysses Zhan 2023-10-20 13:45:16 -07:00
parent 81a4f29c73
commit 3b219a4c7f

View file

@ -226,7 +226,6 @@ struct Invidious::User
watched = data.as_a.compact_map do |item| watched = data.as_a.compact_map do |item|
next unless url = item["titleUrl"]? next unless url = item["titleUrl"]?
next unless match = url.as_s.match(/\?v=(?<video_id>[a-zA-Z0-9_-]+)$/) next unless match = url.as_s.match(/\?v=(?<video_id>[a-zA-Z0-9_-]+)$/)
puts match["video_id"]
match["video_id"] match["video_id"]
end end
watched.reverse! # YouTube have newest first watched.reverse! # YouTube have newest first