Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The app doesnt show youtube thumbnails #646

Open
Warden20 opened this issue Oct 29, 2023 · 22 comments
Open

The app doesnt show youtube thumbnails #646

Warden20 opened this issue Oct 29, 2023 · 22 comments
Labels

Comments

@Warden20
Copy link

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

@seazon

This comment was marked as outdated.

@Warden20
Copy link
Author

Warden20 commented Nov 8, 2023

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
Copy link
Owner

seazon commented Nov 9, 2023

@Warden20 can you provide the feed url?

@Warden20
Copy link
Author

Warden20 commented Nov 9, 2023

@Warden20
Copy link
Author

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

@luckycold
Copy link

Doesn't work on Feedbin either.

@seazon
Copy link
Owner

seazon commented Jan 1, 2024

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
Copy link
Owner

seazon commented Jan 3, 2024

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 media:groupmedia:thumbnail, 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
Copy link
Owner

seazon commented Jan 3, 2024

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

@luckycold
Copy link

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
Copy link

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
Copy link
Author

Warden20 commented Jan 5, 2024

With the version 3 I didnt have this problem

@luckycold
Copy link

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
Copy link

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

@seazon
Copy link
Owner

seazon commented Jan 5, 2024

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.

  • FeedMe get content from RSS server, for example FreshRSS, Bazqux and Tiny tiny RSS.
  • Fluent Reader parse RSS directly from rss link.

So this is the issue on RSS server side.

@seazon
Copy link
Owner

seazon commented Jan 5, 2024

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
Copy link

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
Copy link

@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
Copy link
Owner

seazon commented Mar 4, 2024

feedme will support feedbin thumbnails in next version.

@seazon
Copy link
Owner

seazon commented Mar 4, 2024

please try 4.2.0

@luckycold
Copy link

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

@seazon
Copy link
Owner

seazon commented Mar 5, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants