New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Remove sensitive personal information from info.json files #42
Comments
The I could, prevode a new switch to strip out identifying info, but again, this only really applied to youtube videos since I do not know what other identifying info could be present in other extractors' URLs. In my honest opinion, it is far better to create a small python script to be called using Let me know your thoughts, and whether or not you think an additional script will satisfy your needs |
a python script that can be used with |
Upon further investigation, it seems that your request is related to tubeup. On a quick read of tube-up source code, it seems that tubeup already post-processes the json. So it should be easy to strip the data from their end. Am I wrong? |
I have pushed a patch to remove I try to help the tubeup devs implement this on their side. |
I'd personally like to keep this information. Without it, my project simply won't work with this fork. Would it be possible to add an arg like |
@Tzahi12345 I only removed the Note that this filename maynot be the correct final filename depending on the options used |
@pukkandan I use it in my project YoutubeDL-Material to locate the file after it's been downloaded, it all happens in the backend code and so it would be difficult to find the file otherwise (especially if users have a custom output like
Yeah this is a pain to deal with but I basically just restrict the file type to mp3/4 and so I simply strip out the bad extension from |
@Tzahi12345 The correct way to get the filename after download is to either look at the infodict at the end (if using API) or to use |
@Tzahi12345 I have added an option |
Awesome thank you so much @pukkandan! I look forward to the next release so I can finally support yt-dlp :) |
The other issue with stripping out IP is we can't test it or WHOIS the IP to see if theres unreported by the host georestrictions. So I'll have a bunch of kids dumping channels from other supported sites, supported site silently implements something to georestrict or throttle a region or country or IP, and I have no way of seeing whats going on because they'll refuse to post their IP - alternatively you could implement a flag that removes the redaction so I could force it's use for submitting issues for my project. Or people who use Tubeup could just get a VPS and not rip from their desktops. |
@vxbinaca See my earlier comments
|
and by "get" he meant "rent" a virtual ""private"" server, just so that the ip the program spits out is of your vps provider's rather your isp's |
Options: --clean-infojson, --no-clean-infojson Related: yt-dlp#42 (comment)
Checklist
Description
Would it be possible to remove sensitive personal information such as IP adress and OS username from the info.json file? Since official YTDL doesn't seem to care.
more info on the problem:
ytdl-org/youtube-dl#25576
ytdl-org/youtube-dl#25681
The text was updated successfully, but these errors were encountered: