pytube
NewPipe
Our great sponsors
pytube | NewPipe | |
---|---|---|
2 | 2,059 | |
3 | 28,617 | |
- | 3.1% | |
0.0 | 9.8 | |
over 2 years ago | 4 days ago | |
Python | Java | |
The Unlicense | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pytube
-
YouTube-DL core maintainer moves self to inactive list
Quicker explanation of how Youtube is doing it is at the source code of pytube: https://github.com/tfdahlin/pytube/blob/bb890af3b271a616bbe1...
This is linked from the description of PR 30184 of youtube-dl but @varenc linked to a specific comment (talking about patching Windows builds, AFAICT) which might confuse some people.
I'll even save you the click:
> YouTube's strategy to restrict downloading videos is to send a ciphered version
-
A cross platform front-end GUI of the popular YouTube-dl written in wxPython
There are workarounds (detailed very nicely in dirkf’s pull request for youtube-dl):
https://github.com/ytdl-org/youtube-dl/pull/30184
Pasting the content here for convenience:
Since summer 2021, YouTube has started serving media URLs with a query parameter such as …&n=SXiXBH-xzrjeioPN&…. This now appears to be the default behaviour. Unless the value of this parameter is transformed according to an algorithm delivered in the site player JS, the download speed for the URL is throttled to ~50kB/s.
Solutions for this include:
• implementing a more complete JS interpreter, eg based on PR [jsinterp] Actual JS interpreter¹ #11272;
• using an external JS interpreter (PhantomJS, now unmaintained, is used by some extractors);
• spoofing the Android or iOS client to acquire unthrottled links, as successfully implemented in yt-dlp².
This PR takes a different approach derived from the successful solution used in VLC's youtube.lua (also implemented differently in pytube³). The approach relies on the fact that the challenge algorithm is served in a mini-language within the minified player JS and therefore the specific algorithm can be extracted and executed by interpreting the mini-language without actually running the JS itself. [In parallel with this PR, a separate implementation of this approach was added to yt-dlp⁴.]
The implementation of the mini-language interpreter is directly translated from VLC's n_descramble() Lua function⁵. The result sufficiently resembles the original that it should be straightforward to share changes between the two implementations.
――――――
¹ — https://github.com/ytdl-org/youtube-dl/pull/11272
² — https://github.com/yt-dlp/yt-dlp/commit/c888ffb95ab0ab4f4cd1...
³ — https://github.com/tfdahlin/pytube/blob/bb890af3b271a616bbe1...
⁴ — https://github.com/yt-dlp/yt-dlp/commit/404f611f1c4aa516fbc4...
⁵ — https://code.videolan.org/videolan/vlc/-/blob/4fb284e5af69aa...
NewPipe
-
Mobile Ad Blocker Will No Longer Stop YouTube's Ads
Just use NewPipe. It's just a better Youtube client even if it had ads.
https://newpipe.net/
- Shutting down the letsblock.it project and its official instance
-
2.7M Brits still use a 3G only handset, as the 3G switch off looms closer
I have a 3G device still able to watch YT and a very old Kindle Fire that has NewPipe [1] installed for watching YT in bed (whilst my phone is on charge).
I don't see why not either - if the device was capable of H264 when it was released, why not now?
[1] https://newpipe.net/
- Ask HN: Would you pay for a clickbait-less YouTube?
- Irish State announce plan to build a porn preference register for most of the EU
- NewPipe v0.26.0 Released
- So much pain, I cannot sleep! Advice?
-
Loop option missing on new phone
There is nothing you can do yourself as an app user, see https://github.com/TeamNewPipe/NewPipe/issues/9764. The current situation will be improved by https://github.com/TeamNewPipe/NewPipe/pull/10580.
-
Grandfathered YouTube Premium will see January price increase
NewPipe
-
How do I bypass the anti-ad block system on YouTube?
NewPipe on Android is also unaffected.
What are some alternatives?
youtube-dl - Command-line program to download videos from YouTube.com and other video sites
LibreTube - An alternative frontend for YouTube, for Android.
yt-dlp - A feature-rich command-line audio/video downloader
NewPipe-legacy - NewPipe with support for older devices
youtube-dl-gui - A cross platform front-end GUI of the popular youtube-dl written in wxPython.
PowerTube - PowerTube - Youtube-dl client for Android
youtube-dl - Command-line program to download videos from YouTube.com and other video sites
nitter - Alternative Twitter front-end
one-click-youtube-dl - Small tool to allow one-click downloading videos with youtube-dl
Vanced - Vanced Issues/Docs repo
youtube-dl-gui - A cross platform front-end GUI of the popular youtube-dl written in wxPython.
SmartTube - SmartTube - an advanced player for set-top boxes and tvs running Android OS