Open shrivi34 opened 4 years ago
They're changing the iframes very often, for many reasons. Need to find the right iframe again.
Did you register to the site before running the script?
Yes ,I have registered before. Now there is different error. It says: "Refused to display 'https://accounts.google.com/ServiceLogin?uilel=3&service=youtube&passive=true&hl=en-GB&continue=https%3A%2F%2Fwww.youtube.com%2Fsignin%3Faction_handle_signin%3Dtrue%26feature%3Dpassive%26app%3Ddesktop%26hl%3Den-GB%26next%3D%252Fsignin_passive' in a frame because it set 'X-Frame-Options' to 'deny'.", source: https://www.youtube.com/watch?v=qletMHSAOII (0)"
Screenshot: https://user-images.githubusercontent.com/27879698/79222748-bcadc680-7e75-11ea-98b0-6b7f0d649531.PNG
Stack exchange says: "You may also replace watch?v= with embed/ so http://www.youtube.com/watch?v=eCfDxZxTBW4 becomes http://www.youtube.com/embed/eCfDxZxTBW4" But how do we do that?
Do you entered your gmail account credentials? Do you have on your mail account 2 factor authentication? or maybe another special settings?
I did enter the credentials and no special settings are enabled.
can you mention the chrome,driver and selenium version you used
Selenium: 3.141.0 Chrome driver: 2.38.552522
Try to manually do 1 like & subscribe in Subpals. https://www.subpals.com/
yeah the manual thing works,but not able to subscribe and like automatically.
I just try with a new mail to do it, found out that google tries to identify you, so manually send code to my phone to verify google.
then ran the script again and it worked.
try also to allow "less secure apps" using your gmail : https://support.google.com/accounts/answer/6010255?hl=en
I'm confused on how to use this. I just switched from mac to windows today. Can u explain it in more thorough instructions.
it says iframe not responding in 5 seconds. and says selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"css selector","selector":"[name="channelid"]" screenshot:(https://user-images.githubusercontent.com/27879698/78890173-c5bc2380-7a82-11ea-9d97-8d15fcfbdbba.PNG)