seazon / FeedMe

The documents and forum of FeedMe
1.25k stars 28 forks source link

The app doesnt show youtube thumbnails #646

Open Warden20 opened 1 year ago

Warden20 commented 1 year ago

I dont remember but the app used to retrive the youtube thumbnails. App version 4.1.1 Android 13

seazon commented 1 year ago
Screenshot 2023-11-05 at 19 18 42

Do you mean this?

Warden20 commented 1 year ago

This is a piped rss ( youtube front end) It shows the thumbnail Screenshot_20231107-185706_FeedMe Screenshot_20231107-190300_FeedMe

But the youtube rss doesnt show the thumbnail Screenshot_20231107-184415_FeedMe Screenshot_20231107-185826_FeedMe I am using the default options in the app

seazon commented 1 year ago

@Warden20 can you provide the feed url?

Warden20 commented 1 year ago

This is the youtube rss https://www.youtube.com/feeds/videos.xml?channel_id=UCX6OQ3DkcsbYNE6H8uQQuVA This is the piped rss https://pipedapi.kavin.rocks/feed/unauthenticated/rss?channels=UCX6OQ3DkcsbYNE6H8uQQuVA The problem is with the official youtube rss

Warden20 commented 10 months ago

I hace tried with FreshRSS, Bazqux and Tiny tiny RSS. It happens with all of them. My principal instante is tiny tiny rss

luckycold commented 10 months ago

Doesn't work on Feedbin either.

seazon commented 10 months ago

This is the youtube rss https://www.youtube.com/feeds/videos.xml?channel_id=UCX6OQ3DkcsbYNE6H8uQQuVA This is the piped rss https://pipedapi.kavin.rocks/feed/unauthenticated/rss?channels=UCX6OQ3DkcsbYNE6H8uQQuVA The problem is with the official youtube rss

I will check it these days.

seazon commented 10 months ago

I checked with Bazqux. None of them(pipedapi and youtube) parse and get thumbnails correctly. Below is the content json from Bazqux. In alternate, the content is the video link, not thumbnails link.

{
  "direction": "ltr",
  "id": "feed/https://www.youtube.com/playlist?list=UUX6OQ3DkcsbYNE6H8uQQuVA&bq_guid_format=yt%3Avideo%3AVIDEO_ID",
  "title": "MrBeast",
  "description": "MrBeast",
  "self": {
    "href": "https://www.bazqux.com/reader/api/0/stream/items/contents?output=json"
  },
  "alternate": {
    "href": "https://www.youtube.com/playlist?list=UUX6OQ3DkcsbYNE6H8uQQuVA",
    "type": "text/html"
  },
  "updated": 1704289270,
  "items": [
    {
      "crawlTimeMsec": "1704289161668",
      "timestampUsec": "1703955603000000",
      "id": "tag:google.com,2005:reader/item/0000000600000004",
      "categories": [
        "user/01234567890123456789/state/com.google/reading-list",
        "user/01234567890123456789/state/com.google/fresh",
        "user/01234567890123456789/state/com.google/starred"
      ],
      "published": 1703955603,
      "updated": 1703955603,
      "canonical": [
        {
          "href": "https://piped.video/watch?v=K_CbgLpvH9E"
        }
      ],
      "alternate": [
        {
          "href": "https://piped.video/watch?v=K_CbgLpvH9E",
          "type": "text/html"
        }
      ],
      "summary": {
        "direction": "ltr",
        "content": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\r\n        <a target=\"_blank\" rel=\"noopener\" href=\"https://piped.video/watch?v=K_CbgLpvH9E\">\r\n          <img class=\"bqrUnknownImgSize\" src=\"https://pipedproxy.kavin.rocks/vi/K_CbgLpvH9E/maxresdefault.jpg?host=i.ytimg.com&amp;qhash=13e1514a&amp;rs=AOn4CLDQ0_0NFDjskvk9V9UdDs_P0VToxQ&amp;sqp=-oaymwEmCIAKENAF8quKqQMa8AEB-AH-CYAC0AWKAgwIABABGH8gOygTMA8%3D\"></a></div>"
      },
      "title": "I Spent 7 Days In Solitary Confinement",
      "author": "MrBeast",
      "origin": {
        "streamId": "feed/https://pipedapi.kavin.rocks/feed/unauthenticated/rss?channels=UCX6OQ3DkcsbYNE6H8uQQuVA",
        "title": "Piped - MrBeast",
        "htmlUrl": "https://piped.video/feed"
      }
    },
    {
      "crawlTimeMsec": "1703960551172",
      "timestampUsec": "1703955603000000",
      "id": "tag:google.com,2005:reader/item/00000004000004d3",
      "categories": [
        "user/01234567890123456789/state/com.google/read",
        "user/01234567890123456789/state/com.google/reading-list",
        "user/01234567890123456789/state/com.google/fresh",
        "user/01234567890123456789/state/com.google/starred"
      ],
      "published": 1703955603,
      "updated": 1703955603,
      "canonical": [
        {
          "href": "https://www.youtube.com/watch?v=K_CbgLpvH9E"
        }
      ],
      "alternate": [
        {
          "href": "https://www.youtube.com/watch?v=K_CbgLpvH9E",
          "type": "text/html"
        }
      ],
      "summary": {
        "direction": "ltr",
        "content": "<iframe width=\"560\" height=\"315\" style=\"border: none\" src=\"https://www.youtube.com/embed/K_CbgLpvH9E?autoplay=0&amp;fs=1&amp;rel=0&amp;playsinline=1&amp;modestbranding=1&amp;origin=https:%2f%2fbazqux.com\" allow=\"autoplay; fullscreen; encrypted-media; clipboard-write; picture-in-picture; web-share\" sandbox=\"allow-same-origin allow-scripts allow-forms allow-popups allow-presentation\" allowfullscreen=\"true\"></iframe><figcaption class=\"bqrYoutubeDuration\"><span style=\"color: #666\">Time: </span><span style=\"color: #000; font-weight: bold\">20:16</span></figcaption><p></p>I started going insane at the end of this challenge<br>Bet you can&apos;t guess MrBeast&apos;s favorite flavor 👀- find out &amp; get one for FREE at <a target=\"_blank\" rel=\"noopener\" href=\"https://drinkcirkul.com/MrBeast\">https://drinkcirkul.com/MrBeast</a> or head to your local Walmart today to try Cirkul.<br><br>Music Provided by <a target=\"_blank\" rel=\"noopener\" href=\"https://www.extrememusic.com\">https://www.extrememusic.com</a><br><br>New Merch - <a target=\"_blank\" rel=\"noopener\" href=\"https://mrbeast.store\">https://mrbeast.store</a><br><br>SUBSCRIBE OR I TAKE YOUR DOG<br>╔═╦╗╔╦╗╔═╦═╦╦╦╦╗╔═╗<br>║╚╣║║║╚╣╚╣╔╣╔╣║╚╣═╣ <br>╠╗║╚╝║║╠╗║╚╣║║║║║═╣<br>╚═╩══╩═╩═╩═╩╝╚╩═╩═╝<br><br>For any questions or inquiries regarding this video, please reach out to <a href=\"mailto:chucky@mrbeastbusiness.com\">chucky@mrbeastbusiness.com</a><br><br>----------------------------------------------------------------<br>follow all of these or i will kick you<br>• Facebook - <a target=\"_blank\" rel=\"noopener\" href=\"https://www.facebook.com/MrBeast6000/\">https://www.facebook.com/MrBeast6000/</a><br>• Twitter - <a target=\"_blank\" rel=\"noopener\" href=\"https://twitter.com/MrBeast\">https://twitter.com/MrBeast</a><br>•  Instagram - <a target=\"_blank\" rel=\"noopener\" href=\"https://www.instagram.com/mrbeast\">https://www.instagram.com/mrbeast</a><br>•  Im Hiring! - <a target=\"_blank\" rel=\"noopener\" href=\"https://www.mrbeastjobs.com/\">https://www.mrbeastjobs.com/</a><br>--------------------------------------------------------------------"
      },
      "title": "I Spent 7 Days In Solitary Confinement",
      "author": "MrBeast",
      "origin": {
        "streamId": "feed/https://www.youtube.com/playlist?list=UUX6OQ3DkcsbYNE6H8uQQuVA&bq_guid_format=yt%3Avideo%3AVIDEO_ID",
        "title": "MrBeast",
        "htmlUrl": "https://www.youtube.com/playlist?list=UUX6OQ3DkcsbYNE6H8uQQuVA"
      }
    }
  ]
}

Below is the rss item from youtube, the thumbnail is under , but Bazqux doesn't get it.

<entry>
<id>yt:video:K_CbgLpvH9E</id>
<yt:videoId>K_CbgLpvH9E</yt:videoId>
<yt:channelId>UCX6OQ3DkcsbYNE6H8uQQuVA</yt:channelId>
<title>I Spent 7 Days In Solitary Confinement</title>
<link rel="alternate" href="https://www.youtube.com/watch?v=K_CbgLpvH9E"/>
<author>
<name>MrBeast</name>
<uri>https://www.youtube.com/channel/UCX6OQ3DkcsbYNE6H8uQQuVA</uri>
</author>
<published>2023-12-30T17:00:03+00:00</published>
<updated>2024-01-01T16:00:59+00:00</updated>
<media:group>
<media:title>I Spent 7 Days In Solitary Confinement</media:title>
<media:content url="https://www.youtube.com/v/K_CbgLpvH9E?version=3" type="application/x-shockwave-flash" width="640" height="390"/>
<media:thumbnail url="https://i4.ytimg.com/vi/K_CbgLpvH9E/hqdefault.jpg" width="480" height="360"/>
<media:description>I started going insane at the end of this challenge Bet you can't guess MrBeast's favorite flavor 👀- find out & get one for FREE at https://drinkcirkul.com/MrBeast or head to your local Walmart today to try Cirkul. Music Provided by https://www.extrememusic.com New Merch - https://mrbeast.store SUBSCRIBE OR I TAKE YOUR DOG ╔═╦╗╔╦╗╔═╦═╦╦╦╦╗╔═╗ ║╚╣║║║╚╣╚╣╔╣╔╣║╚╣═╣ ╠╗║╚╝║║╠╗║╚╣║║║║║═╣ ╚═╩══╩═╩═╩═╩╝╚╩═╩═╝ For any questions or inquiries regarding this video, please reach out to chucky@mrbeastbusiness.com ---------------------------------------------------------------- follow all of these or i will kick you • Facebook - https://www.facebook.com/MrBeast6000/ • Twitter - https://twitter.com/MrBeast • Instagram - https://www.instagram.com/mrbeast • Im Hiring! - https://www.mrbeastjobs.com/ --------------------------------------------------------------------</media:description>
<media:community>
<media:starRating count="3256499" average="5.00" min="1" max="5"/>
<media:statistics views="72072657"/>
</media:community>
</media:group>
</entry>

Same for pipedapi's

<entry>
    <title>I Spent 7 Days In Solitary Confinement</title>
    <link rel="alternate" href="https://piped.video/watch?v=K_CbgLpvH9E" />
    <author>
      <name>MrBeast</name>
      <uri>https://piped.video/channel/UCX6OQ3DkcsbYNE6H8uQQuVA</uri>
    </author>
    <id>https://piped.video/watch?v=K_CbgLpvH9E</id>
    <updated>2023-12-30T17:00:03Z</updated>
    <published>2023-12-30T17:00:03Z</published>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <a href="https://piped.video/watch?v=K_CbgLpvH9E">
          <img src="https://pipedproxy.kavin.rocks/vi/K_CbgLpvH9E/maxresdefault.jpg?host=i.ytimg.com&amp;qhash=13e1514a&amp;rs=AOn4CLDQ0_0NFDjskvk9V9UdDs_P0VToxQ&amp;sqp=-oaymwEmCIAKENAF8quKqQMa8AEB-AH-CYAC0AWKAgwIABABGH8gOygTMA8%3D" />
        </a>
      </div>
    </content>
    <dc:date>2023-12-30T17:00:03Z</dc:date>
    <media:content duration="1216">
      <media:player url="https://piped.video/embed/K_CbgLpvH9E" />
      <media:title>I Spent 7 Days In Solitary Confinement</media:title>
      <media:thumbnail url="https://i.ytimg.com/vi/K_CbgLpvH9E/maxresdefault.jpg?sqp=-oaymwEmCIAKENAF8quKqQMa8AEB-AH-CYAC0AWKAgwIABABGH8gOygTMA8=&amp;rs=AOn4CLDQ0_0NFDjskvk9V9UdDs_P0VToxQ" />
    </media:content>
  </entry>
seazon commented 10 months ago

So the conclusion is that these RSS services are not parsing thumbnails correctly.

luckycold commented 10 months ago

So I've found that the app FocusReader on mobile has the thumbnails work. Along with Fluent Reader on Desktop also have the thumbnails working. Is there something different the two of those apps are doing?

luckycold commented 10 months ago

And Fluent Reader is also open source so maybe they have their own parser they show in there too. https://github.com/yang991178/fluent-reader

Warden20 commented 10 months ago

With the version 3 I didnt have this problem

luckycold commented 10 months ago

Just checked the last version before version 4 and the thumbnails still don't seem to work there. So I don't think that's the issue. @Warden20

luckycold commented 10 months ago

Checked the version from 4 years ago too. Still doesn't work either.

seazon commented 10 months ago

And Fluent Reader is also open source so maybe they have their own parser they show in there too. https://github.com/yang991178/fluent-reader

Different.

So this is the issue on RSS server side.

seazon commented 10 months ago

So I've found that the app FocusReader on mobile has the thumbnails work. Along with Fluent Reader on Desktop also have the thumbnails working. Is there something different the two of those apps are doing?

About FocusReader, what service you use? Local RSS or which online RSS?

luckycold commented 10 months ago

So I've found that the app FocusReader on mobile has the thumbnails work. Along with Fluent Reader on Desktop also have the thumbnails working. Is there something different the two of those apps are doing?

About FocusReader, what service you use? Local RSS or which online RSS?

Online, specifically Feedbin.

luckycold commented 9 months ago

@seazon I've tested this some more with other services like, Miniflux, FreshRSS, and tt-rss. All but FreshRSS seems to not work. With that in mind, I have no clue what FreshRSS does differently from these other two. I suppose that Feedbin does the same as whatever those other two do. But the curious thing is I also tested it on FocusReader and it seems that tt-rss and Miniflux don't work on that either. So I'm wondering if Feedbin does something that those other services don't do. Since, FocusReader seems to be able to single something out with YouTube when reading from Feedbin.

seazon commented 8 months ago

feedme will support feedbin thumbnails in next version.

seazon commented 8 months ago

please try 4.2.0

luckycold commented 8 months ago

Feedbin is fixed! Going to check miniflux and tt-rss when I get home.

seazon commented 8 months ago

I have no change for miniflux and ttrss since only feedbin is the only one can show thumbnails on other rss app.