4 ms·
"You are blocking Javascript, and we totally get that. However this endpoint uses Angular, so the front end is in full JavaScript and won't work without it. Th
by 3xblah 7y ago
"You are blocking Javascript, and we totally get that. However this endpoint uses Angular, so the front end is in full JavaScript and won't work without it.
There will be other non JS-based clients to access PeerTube, but for now none is available. Be sure we will update this page with a list once alternative clients are developed. You can certainly develop you own in the meantime as our code is open source and libre software under GNU AGPLv3.0.
There might be numerous reasons you refuse to use JavaScript. If it has just to do with security (or lack thereof) of JavaScript-based webapps, then depending on your threat menace you might want to go through the code running on the node you are trying to access, and look for security audits.
We are sorry but it seems that PeerTube is not compatible with your web browser.
Please try with the latest version of Mozilla Firefox.
If you think this is a mistake, do not hesitate to report it."
peertube-dl(){ a=$(case $1 in "")sed t;;https://*)echo $1;esac|sed 's/videos/static/;s/watch/webseed/');curl -4O $a-720.mp4; }
Usage:
peertube-dl https://peertube.co.uk/videos/watch/12be5396-2a25-4ec8-a92a-674b1cb6b270
echo https://peertube.co.uk/videos/watch/12be5396-2a25-4ec8-a92a-674b1cb6b270|peertube-dl
Download link:
https://peertube.co.uk/static/webseed/12be5396-2a25-4ec8-a92a-674b1cb6b270-720.mp4 https://peertube.co.uk/static/webseed/12be5396-2a25-4ec8-a92...
- majewsky 7y agoThe standard tool for downloading videos from websites, youtube-dl, also works great with PeerTube. (Don't let the name mislead you. YouTube is only one of hundreds of supported providers.)
- BuildTheRobots 7y agoYou're not kidding - there seems to be well over 1,000 sites supported: https://github.com/ytdl-org/youtube-dl/blob/master/docs/supportedsites.md https://github.com/ytdl-org/youtube-dl/blob/master/docs/supp... I do have to give peertube some thanks though - it might require javascript, but there's a large and obvious download button (at least on the mobile page).
- 3xblah 7y agoNo Javascript or Python needed. Reminds me of when Google used to provide JSON from YouTube (and other) endpoints without requiring users to "sign up". # list instances curl "https://instances.joinpeertube.org/api/v1/instances?start=0&count=5&sort=-createdAt" # search an instance curl "https://${instance}/api/v1/search/videos?start=0&count=50&search=$1" # list video categories curl https://${instance}/api/v1/videos/categories/ # list videos curl "https://${instance}/api/v1/videos?start=0&count=500"