mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2025-12-15 01:25:08 +00:00
Support ProblematicTimelineItem in trending feed
This commit is contained in:
@@ -299,8 +299,11 @@ end
|
||||
# the rest of the (hopefully) successfully parsed item on a page.
|
||||
struct ProblematicTimelineItem
|
||||
property parse_exception : Exception
|
||||
property id : String
|
||||
|
||||
def initialize(@parse_exception); end
|
||||
def initialize(@parse_exception)
|
||||
@id = Random.new.hex(8)
|
||||
end
|
||||
|
||||
def to_json(locale : String?, json : JSON::Builder)
|
||||
json.object do
|
||||
|
||||
Reference in New Issue
Block a user