Comments (4)
I an aware of the /proc security issue of writing password in the command-line,
but I don't quite see how to add support for a config file seamlessly at this
point. Besides, only the email and password would be in the config file...
Maybe we could take the opportunity to rethink the arguments: while it's UNIX
orthodoxy to use compulsory info as arguments (and not options), here we have
so many that it's not a very clear command to write. What about:
$ youtube-upload --email EMAIL --password PASSWORD [OTHER OPTIONS] FILE
I know, that's the opposite you asked for, there's more to write. But all of
this would allow to add the option --password-file to get the password from a
file safely.
Ideas?
I've got to admit I don't like the idea of using configuration files, simple
apps should be straightforward and direct. Automation and shorter commands can
always be achieved through aliasing or shell wrappers.
Original comment by tokland
on 20 Jun 2010 at 8:18
from youtube-upload.
I see, then the simplest solution for security aspect of that problem would be
with raw_input("Password:"), example of usage:
youtube-upload [email protected] stdin anne_sophie_mutter.flv \
"A.S. Mutter" "A.S. Mutter plays Beethoven" Music "mutter, beethoven"
Password: *******
www.youtube.com/watch?v=pxzZ-fYjeYs
or support for password file:
cat passwordfile | youtube-upload [email protected] stdin
anne_sophie_mutter.flv \
"A.S. Mutter" "A.S. Mutter plays Beethoven" Music "mutter, beethoven"
Password:
www.youtube.com/watch?v=pxzZ-fYjeYs
Implementation difficulty: 2 lines of code.
P.S. Excuse my bad English.
Original comment by [email protected]
on 20 Jun 2010 at 8:31
from youtube-upload.
Well, yeah, for now this is fairly simple to implement. Only that I'd prefer
the more standard "-" to refer to stdin.
r58
Original comment by tokland
on 20 Jun 2010 at 9:14
- Changed state: Fixed
from youtube-upload.
Original comment by tokland
on 13 May 2014 at 2:55
from youtube-upload.
Related Issues (20)
- No Upload on IPv6 HOT 4
- update video and more options HOT 1
- possible support the "Upload a video thumbnail image" function ?? HOT 1
- upload with socks proxy HOT 1
- Bulk upload HOT 2
- Support Resumable Uploads HOT 2
- options HOT 1
- Uploading no longer possible HOT 5
- youtube-upload can't log in when using 2 factor auth HOT 4
- Ability to upload srt subtitles with the video HOT 2
- Upload on a specific channel HOT 1
- How select Creative Commons license for videos instead of the standard YouTube license? HOT 1
- Upload Error HOT 2
- Error: no such option: --email:[email protected] HOT 7
- How to choose which youtube account to upload from? HOT 3
- Auth failed HOT 8
- Upload Thumbnail HOT 1
- Patch for /trunk/youtube_upload/youtube_upload.py HOT 1
- description from file HOT 2
- How to set "Video language", "Monitize" field when upload? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from youtube-upload.