linouk23 / youtube_uploader_selenium

Python script to upload videos on YouTube using Selenium
MIT License
612 stars 211 forks source link

How does login work to run this program? #74

Open artists2 opened 1 year ago

artists2 commented 1 year ago

How does login work to run this program?..

Login function does not exist.

`from youtube_uploader_selenium import YouTubeUploader

video_path = '../test/test1.mp4' metadata_path = 'metadata.json'

uploader = YouTubeUploader(video_path, metadata_path)

was_video_uploaded, video_id = uploader.upload() assert was_video_uploaded `

I haven't done anything since YouTube turned on.

kenonerboy commented 1 year ago

i second op. i tried signing in, but i just get

"This browser or app may not be secure. Learn more Try using a different browser. If you’re already using a supported browser, you can try again to sign in."

disabling that has been depricated, and i cant change the cookies due to permissions. please, help

chenaaron3 commented 1 year ago

You can use the profile_path option in the constructor as demonstrated here https://github.com/linouk23/youtube_uploader_selenium/issues/78#issuecomment-1426943041. A profile will have your cookie data so when you log on normally (not through selenium), the browser will save your login session in the profile. More about Firefox Profiles here.