Open andejp12 opened 3 months ago
hi! & thanks @andejp12
Please provide a sample with right click on it "inspect element". copying the element and also the "full xpath"
Are these videos any related / interesting (from creators you subscribed?) (this can come with two options: hide or make them smaller and more obvious, so less annoying, leaving a bit of chance that any of them will be worth paying)
Hi, sorry for the delay but of course right after your reply I hadn't seen one in a while.
These are from channels that I'm subscribed to but not a member of the channel.
Here is the element
<ytd-rich-item-renderer class="style-scope ytd-rich-grid-row" items-per-row="1" is-link-card-full-width="" lockup="true"><div id="content" class="style-scope ytd-rich-item-renderer"><ytd-rich-grid-media class="style-scope ytd-rich-item-renderer" lockup="true"><div id="dismissible" class="style-scope ytd-rich-grid-media"><div id="thumbnail" class="style-scope ytd-rich-grid-media"><ytd-thumbnail rich-grid-thumbnail="" use-hovered-property="" width="9999" class="style-scope ytd-rich-grid-media" size="large" hidden=""><a id="thumbnail" class="yt-simple-endpoint inline-block style-scope ytd-thumbnail" aria-hidden="true" tabindex="-1" rel="null" href="/watch?v=LZ2kSbSrDLs&list=RDLZ2kSbSrDLs&start_radio=1"> <yt-image alt="" ftl-eligible="" notify-on-loaded="" notify-on-unloaded="" class="style-scope ytd-thumbnail"><img alt="" style="background-color: transparent;" class="yt-core-image yt-core-image--fill-parent-height yt-core-image--fill-parent-width yt-core-image--content-mode-scale-aspect-fill">
<ytd-playlist-thumbnail is-double-stack="" use-hovered-property="" width="9999" class="style-scope ytd-rich-grid-media" thumbnail-size="large" enable-web-modern-collections-v2="" size="large"><yt-collections-stack class="collections-stack-wiz">
<div id="thumbnail-underlay" class="style-scope ytd-rich-grid-media" hidden=""><div id="details" class="style-scope ytd-rich-grid-media"><div id="avatar-container" class="yt-simple-endpoint style-scope ytd-rich-grid-media" hidden=""><a id="avatar-link" class="yt-simple-endpoint style-scope ytd-rich-grid-media" tabindex="-1" title="undefined"><yt-img-shadow id="avatar" width="48" class="style-scope ytd-rich-grid-media no-transition empty" style="background-color: transparent;"><img id="img" draggable="false" class="style-scope yt-img-shadow" alt="" width="48"><div id="decorated-avatar" class="style-scope ytd-rich-grid-media" hidden=""><div id="meta" class="style-scope ytd-rich-grid-media">
<ytd-badge-supported-renderer class="video-badge style-scope ytd-rich-grid-media" disable-upgrade="" hidden=""><ytd-badge-supported-renderer class="title-badge style-scope ytd-rich-grid-media" disable-upgrade="" hidden=""><yt-formatted-string id="view-more" link-inherit-color="" class="style-scope ytd-rich-grid-media" is-empty="function(){var e=Fa.apply(0,arguments);a.loggingStatus.currentExternalCall=b;a.loggingStatus.bypassProxyController=!0;var h,l=((h=a.is)!=null?h:a.tagName).toLowerCase();bz(l,b,"PROPERTY_ACCESS_CALL_EXTERNAL");var m;h=(m=c!=null?c:d[b])==null?void 0:m.call.apply(m,[d].concat(qa(e)));a.loggingStatus.currentExternalCall=void 0;a.loggingStatus.bypassProxyController=!1;return h}" hidden=""><yt-attributed-string class="style-scope yt-formatted-string"><div id="buttons" class="style-scope ytd-rich-grid-media"><div id="menu" class="style-scope ytd-rich-grid-media"><ytd-menu-renderer class="style-scope ytd-rich-grid-media" safe-area="" menu-active=""><div id="top-level-buttons-computed" class="top-level-buttons style-scope ytd-menu-renderer">
<yt-icon-button id="button" class="dropdown-trigger style-scope ytd-menu-renderer" style-target="button" role="button"><button id="button" class="style-scope yt-icon-button" aria-label="Action menu">AND, the full Xpath
/html/body/ytd-app/div[1]/ytd-page-manager/ytd-browse/ytd-two-column-browse-results-renderer/div[1]/ytd-rich-grid-renderer/div[6]/ytd-rich-grid-row[3]/div/ytd-rich-item-renderer
On Fri, Jul 12, 2024 at 2:30 AM ImprovedTube @.***> wrote:
hi! & thanks @andejp12 https://github.com/andejp12 Please provide a sample with right click on it "inspect element". copying the element and also the "full xpath"
Are these videos any related / interesting (from creators you subscribed?) (this can come with two options: hide or make them smaller and more obvious, so less annoying, leaving a bit of chance that any of them will be worth paying)
— Reply to this email directly, view it on GitHub https://github.com/code-charity/youtube/issues/2472#issuecomment-2224993658, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQFX6RT2CJTGC3K2WSP4TULZL6A2FAVCNFSM6AAAAABKXGCTTCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRUHE4TGNRVHA . You are receiving this because you were mentioned.Message ID: @.***>
⚬ PROBLEM: Being shown thumbnails to videos that are members only and I'm not a channel member
⚬ SOLUTION: Would it be possible to see if a user is a member of a channel and if not, block the member only videos from being displayed?
⚬ ALTERNATIVES: A way to block all member only videos if it's not possible to check the current status of membership to a channel
⚬ RELEVANCE / SCOPE: I think a small percentage of youtube users are channel members so blocking these videos seems like it would help most people.
⚬ "SIDE EFFECTS": You wouldn't see member only videos so they wouldn't be able to entice people to get a channel membership.
⚬ _CONTEXT_:// Thank you!