youtube_uploader_selenium icon indicating copy to clipboard operation
youtube_uploader_selenium copied to clipboard

This browser or app may not be secure.

Open chris0piper opened this issue 2 years ago • 11 comments

Any ideas on how to fix this? I've tried copying my firefox profile folder from my local comp into this scripts profile folder but no success

chris0piper avatar Nov 03 '22 18:11 chris0piper

Are you using the correct firefox profile? It works for me when I specify a profile path.

# export PROFILE_PATH="C:\Users\chena\AppData\Roaming\Mozilla\Firefox\Profiles\1cyrfe0a.default-release-1676168063686"
uploader = YouTubeUploader(video_path, metadata_path, profile_path=os.getenv('PROFILE_PATH'))  
was_video_uploaded, video_id = uploader.upload()

chenaaron3 avatar Feb 12 '23 04:02 chenaaron3

@chenaaron3 Had a try with your method but still error:

TypeError: Firefox.__init__() got an unexpected keyword argument 'profile_path'

arkilis avatar Apr 06 '23 04:04 arkilis

@chenaaron3 Had a try with your method but still error:

TypeError: Firefox.__init__() got an unexpected keyword argument 'profile_path'

up up

mqxmm avatar Apr 10 '23 19:04 mqxmm

@chenaaron3 Had a try with your method but still error:

TypeError: Firefox.__init__() got an unexpected keyword argument 'profile_path'

Same error

FujiwaraChoki avatar Jan 13 '24 19:01 FujiwaraChoki

Are you using the correct firefox profile? It works for me when I specify a profile path.

# export PROFILE_PATH="C:\Users\chena\AppData\Roaming\Mozilla\Firefox\Profiles\1cyrfe0a.default-release-1676168063686"
uploader = YouTubeUploader(video_path, metadata_path, profile_path=os.getenv('PROFILE_PATH'))  
was_video_uploaded, video_id = uploader.upload()

This method solved my problem, and I can now log into YouTube.

cindylaii avatar Feb 28 '24 08:02 cindylaii

Are you using the correct firefox profile? It works for me when I specify a profile path.

# export PROFILE_PATH="C:\Users\chena\AppData\Roaming\Mozilla\Firefox\Profiles\1cyrfe0a.default-release-1676168063686"
uploader = YouTubeUploader(video_path, metadata_path, profile_path=os.getenv('PROFILE_PATH'))  
was_video_uploaded, video_id = uploader.upload()

this doesnt work for me and i constantly get An error occurred during upload: YouTubeUploader.init() got an unexpected keyword argument 'profile_path' did you modify your version?

edit: i was using the pypi latest version which frankly isnt updated to the most recent version of this github repo, i just manually replaced the code in my venv and it may work now

modpotato avatar Jul 31 '24 00:07 modpotato

Are you using the correct firefox profile? It works for me when I specify a profile path.

# export PROFILE_PATH="C:\Users\chena\AppData\Roaming\Mozilla\Firefox\Profiles\1cyrfe0a.default-release-1676168063686"
uploader = YouTubeUploader(video_path, metadata_path, profile_path=os.getenv('PROFILE_PATH'))  
was_video_uploaded, video_id = uploader.upload()

this doesnt work for me and i constantly get An error occurred during upload: YouTubeUploader.init() got an unexpected keyword argument 'profile_path' did you modify your version?

edit: i was using the pypi latest version which frankly isnt updated to the most recent version of this github repo, i just manually replaced the code in my venv and it may work now

My previous question was that I had never used Firefox's profile feature before, so I couldn't understand the instructions in the installation guide. Later, I searched online about profiles and learned that it's a Firefox feature for customizing profiles. You first create a Firefox profile, then fill in the profile path in the program. I've been using this program for several months now, and the main part of the program works fine.

cindylaii avatar Jul 31 '24 02:07 cindylaii

Are you using the correct firefox profile? It works for me when I specify a profile path.

# export PROFILE_PATH="C:\Users\chena\AppData\Roaming\Mozilla\Firefox\Profiles\1cyrfe0a.default-release-1676168063686"
uploader = YouTubeUploader(video_path, metadata_path, profile_path=os.getenv('PROFILE_PATH'))  
was_video_uploaded, video_id = uploader.upload()

this doesnt work for me and i constantly get An error occurred during upload: YouTubeUploader.init() got an unexpected keyword argument 'profile_path' did you modify your version? edit: i was using the pypi latest version which frankly isnt updated to the most recent version of this github repo, i just manually replaced the code in my venv and it may work now

My previous question was that I had never used Firefox's profile feature before, so I couldn't understand the instructions in the installation guide. Later, I searched online about profiles and learned that it's a Firefox feature for customizing profiles. You first create a Firefox profile, then fill in the profile path in the program. I've been using this program for several months now, and the main part of the program works fine.

while that may be true, the code in this repo uses a very old method of setting the profile which isnt recommended anymore for one reason or another

i ended up replacing it with the following

        options = Options()
        options.add_argument("-profile")
        options.add_argument(profile_path)

modpotato avatar Jul 31 '24 02:07 modpotato

profile_path

Can you tell me the string of the profile_path?

cindylaii avatar Jul 31 '24 02:07 cindylaii

profile_path

Can you tell me the string of the profile_path?

no, its different for each person but you would find it in about:profiles 90% of the time

modpotato avatar Aug 02 '24 19:08 modpotato

no, its different for each person but you would find it in about:profiles 90% of the time

I just want to confirm that you have added the correct Firefox profile path. I think you should be able to use it normally.

cindylaii avatar Aug 04 '24 00:08 cindylaii