lib/webradio.rb in rget-4.3.2 vs lib/webradio.rb in rget-4.3.3
- old
+ new
@@ -128,10 +128,10 @@
open(@cover, 'rb', &:read)
end
def cover_image_as_xpath
html = Nokogiri(open(@url, &:read))
- image_url = (URI(@url) + (html.xpath(@cover).text)).to_s
+ image_url = (URI(@url) + (html.xpath(@cover)[0].text)).to_s
open(image_url, 'r:ASCII-8BIT', &:read)
end
def exist?(dst)
if @dropbox