Open mumaguma opened 1 year ago
The problem page needs an account.
The yt-dlp LinkedIn extractor module has an extractor that works for /posts/...
LinkedIn URLs (which needs to be back-ported).
Perhaps the problem page has the same structure. You can check this by searching the page source for an element like `<video ... data-sources="..." ...>. If that's present, we can just adjust the URL pattern in the back-port.
There should also be a check for redirecting to the sign-up page, which means you needed to log in.
Also this URL format https://www.linkedin.com/feed/update/urn:li:activity:7016901149999955968 has the same page structure as /posts/...
.
The problem page needs an account. it there any way I could help? (excluding sharing my account / cookies.txt)
This:
... searching the page source for an element like `<video ... data-sources="..." ...>.
I cannot find any "data-sources" occurrence. The only "<video" tag was:
<video class="vjs-tech" id="vjs_video_3_html5_api" tabindex="-1" preload="metadata" poster="https://media.licdn.com/dms/image/C5624AQG3F3uWI9x3UQ/feedshare-live-thumbnail_high/0/1674752424731?e=1675652400&v=beta&t=q49vx7KlH8eeyZGizpIYwquG2bl-E09RDjBjThPYu6o" src="blob:https://www.linkedin.com/72705d44-517b-4e86-a4fb-0e0ee8b5b45d" autoplay="autoplay"></video>
I have wrote code to download LinkedIn post downloader.
Also explore my cloud Services at https://rapidapi.com/mudhayarajan2013/api/vidsnap
I have wrote code to download LinkedIn post downloader.
Also explore my cloud Services at https://rapidapi.com/mudhayarajan2013/api/vidsnap
How do I use the script?
Checklist
Verbose log
Description
It seems that Linkedin extractor supports only urls with "urn:li:lyndaCourse:", whereas videos in user/channel posts have "urn:li:ugcPost:" and are not recognised by youtube-dl.