Add fix for short playlist descriptions

このコミットが含まれているのは:
Omar Roth 2018-09-25 10:28:57 -05:00
コミット 21a8df42dd
1個のファイルの変更1行の追加0行の削除

ファイルの表示

@ -161,6 +161,7 @@ def fetch_playlist(plid)
title = title.content.strip(" \n")
description_html = document.xpath_node(%q(//span[@class="pl-header-description-text"]/div/div[1]))
description_html ||= document.xpath_node(%q(//span[@class="pl-header-description-text"]))
description_html, description = html_to_content(description_html)
anchor = document.xpath_node(%q(//ul[@class="pl-header-details"])).not_nil!