mirror of
https://github.com/floccusaddon/floccus.git
synced 2026-04-26 06:35:59 +03:00
[GH-ISSUE #1332] Obtain title when the link is shared from YouTube/Spotify/YT Music #884
Labels
No labels
browser-specific
bug
correctness issues
enhancement
feature: Google Drive
feature: Linkwarden
feature: git
feature: nextcloud-bookmarks
feature: tabs
feature: webdav
help wanted
native-app
priority: high
priority: low
priority: medium
pull-request
question
question
stale
upstream
waiting for more information
wontfix
🙁 Not following issue template
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/floccus#884
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ChuZhenMok on GitHub (Jan 26, 2023).
Original GitHub issue: https://github.com/floccusaddon/floccus/issues/1332
Describe the feature you'd like to request
Currently, when sharing a link from YouTube to floccus to save as a bookmark, the Title will be saved as "YouTube" as default.
Is it possible to obtain the title when pasting the link?
Thank you for the amazing app.
Describe the solution you'd like
Is it possible to obtain the title when pasting the link?
Describe alternatives you've considered
Maybe the title can be obtained after saving the bookmark also can.
@marcelklehr commented on GitHub (May 21, 2023):
When the sharing app supplies a title, that is used. If not, we fetch it. Seems like in your case YouTube sets the title to "YouTube". So, nothing we can do. Sorry.
@mortee commented on GitHub (Dec 15, 2023):
I mean, are customized solutions to getting the page title for certain enormously popular websites absolutely off the table? I find this issue with specifically Youtube really annoying too, and I'd love to have it solved somehow.
@marcelklehr commented on GitHub (Dec 15, 2023):
Mmmh, I guess we can introduce an exception for Youtube
@mortee commented on GitHub (Dec 15, 2023):
Wow, that would be awesome! I'm sure there's some quite primitive API that can provide the video title, given its ID.
@marcelklehr commented on GitHub (Dec 15, 2023):
We can just make it use the fallback title fetcher which is used when no title is passed
@mortee commented on GitHub (Dec 15, 2023):
I don't follow. Isn't the issue here exactly that the "fallback title fetcher", which is invoked when no title is passed along the shared URI, only returns "YouTube" for YT links, because (I'm assuming) that's what the initial HTML response contains for the URI?
@marcelklehr commented on GitHub (Dec 15, 2023):
My assessment here was that the YouTube app sends a title, but only sets it to "YouTube", so since the title is set, floccus assumes it's good and the fallback doesn't kick in.
@marcelklehr commented on GitHub (Dec 15, 2023):
Just tested: The title tag in youtube's initial response contains the full video title as expected
@mortee commented on GitHub (Dec 15, 2023):
Weird. When I share from my YT app into a text note, then the full video title is there, too. Where and how might this be diverted to the fixed "YouTube" string?
@GambaJo commented on GitHub (Dec 30, 2023):
I have the same issue. I don't think, this is a general problem of the suplying app, because it works with the "original" bookmarks app for Nextcloud.
For example, when I visit a youtube page in my Android browser an click on "share" and choose the nextcloud bookmarks app, this app have the whole title of the youtube video and not only "Youtube".
I also tried this with sharing a link from NewPipe. Nextcloud bookmark app get the whole title, floccus only "Youtube".
@marcelklehr commented on GitHub (Nov 27, 2024):
I found the issue. The user agent was to blame for the wrong title. With a neutral UA the title is obtained correctly 🎉
@github-actions[bot] commented on GitHub (Nov 28, 2025):
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.