Skip to content
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

Request Please #17

Closed
GoogleCodeExporter opened this issue Jan 29, 2016 · 5 comments
Closed

Request Please #17

GoogleCodeExporter opened this issue Jan 29, 2016 · 5 comments

Comments

@GoogleCodeExporter
Copy link

Hello, this is a great tool, I just got it working.  I am brand new to python, 
so sorry if this is a simple request.   I am getting my file from MySQL which 
to upload, its going great.  But I would love to then update the row it came 
from (searchable by the file name) in MySQL with the YouTube Video ID (or in 
the case of a split video create duplicate rows, each with a unique YouTube 
Video ID.

I am sure I can do the MySQL Part.  But are you able to let me know how I 
capture the one or multiple Video IDs as they come back please?

thanks

What version of youtube-upload are you using? On what operating system?
0.4, and Linux Redhat



Original issue reported on code.google.com by cam...@campersalmanac.com on 29 Sep 2010 at 3:23

@GoogleCodeExporter
Copy link
Author

youtube-upload.py outputs the links (one per line) of all created videos to the 
standard output, so you only need to parse these lines to get the IDs. How to 
do that depends on what language are you using to execute youtube-upload and 
then interface with the database, but it should be trivial. Note that 
youtube-upload can be used either as a Python library or called from an 
external app. Even a simple bash script should do.

Original comment by tokland on 29 Sep 2010 at 9:41

@GoogleCodeExporter
Copy link
Author

ok, thanks

Original comment by cam...@campersalmanac.com on 1 Oct 2010 at 6:58

@GoogleCodeExporter
Copy link
Author

I am close to having this working, i will post my code when done for others

Original comment by cam...@campersalmanac.com on 5 Oct 2010 at 10:47

@GoogleCodeExporter
Copy link
Author

ok, try to host it in an external snippet service (i.e. gist).

Original comment by tokland on 5 Oct 2010 at 10:51

  • Changed state: Done

@GoogleCodeExporter
Copy link
Author

Original comment by tokland on 13 May 2014 at 2:55

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant