You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Likes and Dislikes are not displaying correctly for age-restricted videos when utilizing yt-dlp's RYD plugin. Despite providing the necessary authentication data, the plugin fails to retrieve accurate Like and Dislike counts for such videos. This issue contrasts with the functionality of the RYD Chrome Extension, where Like and Dislike counts are displayed accurately.
The yt-dlp RYD Plugin, even when used with Cookies and AGB, fails to retrieve precise Like and Dislike counts for age-restricted videos. Below is an example of the JSON data showcasing the inaccuracies:
I've also opened an Issue at the RYD repo related to this wondering if they can help, please see: : RYD Issue #1035.
Proposed solution:
First off, I am not a coder or super tech-savvy to figure this out, However, my guess is the problem is requiring some Auth in order to fetch the Likes/Dislikes on AR videos, hence why I tried using AGB + cookies. Implementing some code methods of the RYD chrome extension may be necessary.
Any help in coming up with a solution is appreciated!
Provide verbose output that clearly demonstrates the problem
Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
If using API, add 'verbose': True to YoutubeDL params instead
Copy the WHOLE output (starting with [debug] Command-line config) and insert it below
Complete Verbose Output
[debug] Command-line config: ['-vU', 'https://www.youtube.com/watch?v=BJDH36BQ-qo', '--skip-download', '--cookies-from-browser', 'chrome', '--use-postprocessor', 'ReturnYoutubeDislike:when=pre_process', '--print-to-file', '%(.{id,like_count,dislike_count})j', './Test_dislikes_cookies_age_gate.json']
Extracting cookies from chrome
[debug] Extracting cookies from: "C:\Users\Owner\AppData\Local\Google\Chrome\User Data\Default\Network\Cookies"
[debug] Found local state file at "C:\Users\Owner\AppData\Local\Google\Chrome\User Data\Local State"
Extracted 3187 cookies from chrome
[debug] cookie version breakdown: {'v10': 3422, 'other': 0, 'unencrypted': 0}
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version [email protected] from yt-dlp/yt-dlp [f10589e34] (pip)
[debug] Python 3.12.0 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 3.0.11 19 Sep 2023)
[debug] exe versions: ffmpeg 2023-12-04-git-8c117b75af-full_build-www.gyan.dev (setts), ffprobe 2023-12-04-git-8c117b75af-full_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.19.0, brotli-1.1.0, certifi-2023.07.22, mutagen-1.47.0, requests-2.31.0, sqlite3-3.42.0, urllib3-2.0.3, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets
[debug] Extractor Plugins: AGB (YoutubeIE)
[debug] Post-Processor Plugins: BeforeJsonWriteMtimePP, FixupCreationDatePP, FixupGtimePP, FixupMtimePP, JsonWriteMtimePP, ReturnYoutubeDislikePP, UploadDateCtime1PP, UploadDateCtime2PP, UploadDateCtime3PP, YoutubeApiChannelPP, YoutubeApiPlaylistPP, YoutubeApiVideoPP
[debug] Plugin directories: ['C:\\Users\\Owner\\AppData\\Local\\Programs\\Python\\Python312\\Lib\\site-packages\\yt_dlp_plugins']
[debug] Loaded 1798 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: [email protected] from yt-dlp/yt-dlp
yt-dlp is up to date ([email protected] from yt-dlp/yt-dlp)
[youtube+AGB] Extracting URL: https://www.youtube.com/watch?v=BJDH36BQ-qo
[youtube+AGB] BJDH36BQ-qo: Downloading webpage
[debug] [youtube+AGB] Extracted SAPISID cookie
[youtube+AGB] BJDH36BQ-qo: Downloading ios player API JSON
[youtube+AGB] BJDH36BQ-qo: Downloading android player API JSON
[youtube+AGB] BJDH36BQ-qo: Downloading m3u8 information
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, size, br, asr, vext, aext, hasaud, id
[debug] ReturnYoutubeDislike query: https://returnyoutubedislikeapi.com/votes?videoId=BJDH36BQ-qo
[debug] Default format spec: bestvideo*+bestaudio/best
[info] BJDH36BQ-qo: Downloading 1 format(s): 313+251
[info] Writing '%(.{id,like_count,dislike_count})j' to: Test_dislikes_cookies_age_gate.json
The text was updated successfully, but these errors were encountered:
Checklist
Region
Canada
Problem
Likes and Dislikes are not displaying correctly for age-restricted videos when utilizing yt-dlp's RYD plugin. Despite providing the necessary authentication data, the plugin fails to retrieve accurate Like and Dislike counts for such videos. This issue contrasts with the functionality of the RYD Chrome Extension, where Like and Dislike counts are displayed accurately.
The yt-dlp RYD Plugin, even when used with Cookies and AGB, fails to retrieve precise Like and Dislike counts for age-restricted videos. Below is an example of the JSON data showcasing the inaccuracies:
Example JSON Data:
with RYD Chrome Extension:
I've also opened an Issue at the RYD repo related to this wondering if they can help, please see: : RYD Issue #1035.
Proposed solution:
First off, I am not a coder or super tech-savvy to figure this out, However, my guess is the problem is requiring some Auth in order to fetch the Likes/Dislikes on AR videos, hence why I tried using AGB + cookies. Implementing some code methods of the RYD chrome extension may be necessary.
Any help in coming up with a solution is appreciated!
Provide verbose output that clearly demonstrates the problem
yt-dlp -vU <your command line>
)'verbose': True
toYoutubeDL
params instead[debug] Command-line config
) and insert it belowComplete Verbose Output
The text was updated successfully, but these errors were encountered: