Don't discard search results with no metadata

このコミットが含まれているのは:
Omar Roth 2018-09-20 10:24:27 -05:00
コミット abb15b82e6
1個のファイルの変更0行の追加3行の削除

ファイルの表示

@ -302,9 +302,6 @@ def extract_items(nodeset, ucid = nil)
id = id.lchop("/watch?v=")
metadata = node.xpath_nodes(%q(.//div[contains(@class,"yt-lockup-meta")]/ul/li))
if metadata.empty?
next
end
begin
published = decode_date(metadata[0].content.lchop("Streamed ").lchop("Starts "))