5 ms·
YouTube-DL Gitlab Backup Repository
- enahs-sf 6y agoAnyone else here think Downloading an executable as root from a URL that follows redirects is a bad idea? Seems like they could break the (Unix) install down into a few more steps that take some caution
- ekianjo 6y agoAny centralized code versioning system can easily be DMCA'd so does it change anything?
- AndrewDucker 6y agoOnly one in the USA
- jdu9 6y agoGitlab is not immune to DMCA notices either since it's a US company. The RIAA probably won't try to take it down unless the youtube-dl development is actually relocated there or they become aware of it somehow. You'd have to host it in a country where DMCA can safely be ignored (anonymously of course), e.g. the Netherlands or Russia, if you want it to stay up reliably.
- INTPenis 6y agoSo true. But to me as a long time Gitlab fan this shows the power of using Gitlab. Because if they were using Gitlab when the DMCA hits they could have easily migrated to their own Gitlab instance. While Github would have to export things into another format. I'm sure people have worked on exporting data from Github to Gitlab but it seems much easier to just use Gitlab. Edit: And of course besides data, you can't migrate contributors as easy. Which is also where Gitlab is powerful because it's open source and people are actually discussing federation in it. I doubt Github will ever get any kind of federation outside of microsoft services.
- qwertox 6y ago> could have easily migrated to their own Gitlab instance Not sure if I would do that. Wouldn't that make me directly a target for the companies issuing the DMCA?
- corobo 6y agoYou're already a direct target of the DMCA if you control the code. They go through GitHub for ease. Yes, if you host this anywhere without safe harbour protection you're going to get the DMCA takedown directly
- INTPenis 6y agoYou're always a target of DMCA takedown requests, but having the freedom to host yourself anywhere with federation to other instances would give you the freedom to ignore it.
- input_sh 6y agoGitee.com is a popular Chinese alternative. I'm pretty sure it'd be safe there.
- stevefan1999 6y agoI don't think so. Youtube-DL can rip some popular Chinese VOD websites such as Bilibili and iQIYI, thus will first be "subjectable" to the Chinese equivalent of DMCA. Worse, these companies are often backed/protected by powerful figures (often under the umbrella of some influential state members) and under such power, these kind of "threats" will be eradicated very efficiently, especially with Bilibili which is partially "state-monitored" (not sure if sponsored) due to the presence of the channel of the official youth branch of CCP is opened there [1]. Thus, relocating your repository to gangs aren't safe at all. A rule of thumb: The prerequisite for your business to survive in China is that you need to have powerful affiliates, and make sure you do not piss off that powerful guy. [1]: https://space.bilibili.com/20165629?from=search&seid=12774176251470057946 https://space.bilibili.com/20165629?from=search&seid=1277417...
- DarthGhandi 6y agoIt's hilarious how people on this site reacts at the mere mention of China on any topic. Everyone is apparently an expert. Gitee has hosted a youtube-dl mirror for years. https://gitee.com/mirrors/youtube-dlg https://gitee.com/mirrors/youtube-dlg
- justinclift 6y agoUm, that doesn't look like a youtube-dl mirror? It seems to be an old (last updated 2 yrs ago) project providing some kind of gui for youtube-dl.
- stevefan1999 6y agoHate to say about it but I'm ethically Chinese and I just happened to know some little thing about it...I know it's a great gambit so I hope I don't have to use the race card at the very least... Then people straight out attacking me thinking I'm attacking China...
- spurgu 6y agoCurious in general how often Youtube breaks things on their end, i.e. how long roughly this specific version of youtube-dl is expected to keep working without any active development?
- input_sh 6y agogit pull the repo, cd into it, and do `git log --follow -- youtube_dl/extractor/youtube.py`.
- spurgu 6y agoThanks. That would indicate roughly 2 months or so...
- mrspeaker 6y agoI use youtube-dl fairly infrequently... maybe once a month or so. Nearly every time I used it it would not download the video I wanted - so I'd do a "youtube-dl -u", then it would work. Just spreading the repo around isn't going to help for very long.
- spurgu 6y agoYeah same here, so next time I'll need it it probably won't work. :|
- bArray 6y agoHow do you verify this isn't malicious? Who is running this repo?
- mschuster91 6y agoCompare the sha commit hashes of the top commit against the hashes from the old "true" repo. If they match the repo (and the history) has not been changed. Subsequent commits can be manually audited.
- bArray 6y ago> Compare the sha commit hashes of the top commit against > the hashes from the old "true" repo. Isn't it just SHA1? I think it's generally accepted it's not secure... Also it would be quite easy to build a clone repo that looks the part with all the correct hashes, the git "database" structure is quite simple.
- mikece 6y agoWhile this situation is a reason to look more closely at GitLab due to the ability to host your own instance, why not also look at a solution like Fossile: DVCS, wiki, and issue tracker all in a cross-platform, single executable file? https://fossil-scm.org/home/doc/trunk/www/index.wiki https://fossil-scm.org/home/doc/trunk/www/index.wiki
- edjrage 6y agoAlso created by the same person as SQLite. The repo itself is a SQLite database. It's an alternative to git, not just to GitHub: https://www.fossil-scm.org/home/doc/trunk/www/fossil-v-git.wiki https://www.fossil-scm.org/home/doc/trunk/www/fossil-v-git.w...
- m-p-3 6y agoI made a read-only backup on IPFS in the likely case it gets DMCA'd. git clone https://ipfs.io/ipfs/QmVJ6BtoavbWRJwWH8JmTd5Bf6i3zEzsecnBKTMKCX8crj/youtube-dl https://ipfs.io/ipfs/QmVJ6BtoavbWRJwWH8JmTd5Bf6i3zEzsecnBKTM...
- nextaccountic 6y agoDoes it includes issues and open PRs? I think this is the most concerning part about Github: when you move somewhere else you lose important parts of the history of the project (that document known bugs, how features came to be, etc), unless you specifically step up and use some import tool. There are Git-backed distributed issue trackers like Git-bug https://github.com/MichaelMure/git-bug https://github.com/MichaelMure/git-bug (and probably other tools) that should be more used. One could perhaps convert Github issues to git-bug and store on a branch of this IPFS Git repository.
- michaelmure 6y agoIt's the whole point of git-bug: breaking the vendor locking. There is a Github bridge that will import the issues (including the complete history). PRs are not supported yet though.
- Zhyl 6y agoI with there was an issue tracking thing that you could clone as easily as a git repo. My first thought was email as an ongoing distributed solution, but as far as I know you can't just download an archive of issue tickets, bug reports etc into a maildir without a fair amount of faff?
- Gaelan 6y agoI've cloned this to my laptop. I suggest that everyone does the same.
- aabbcc1241 6y agoAnd there is GitCenter, which us git (with issue tracking) over Zeronet (a p2p network)