vic1707 / AutoPlay-PokeMeow-Discord

A bot that plays PokeMeow for you
15 stars 19 forks source link

Malformed URL Issue #39

Open SirInferious opened 2 years ago

SirInferious commented 2 years ago

Malformed URL when putting my discord link. I copied and paste the discord link on discord. Tried removing the https.

It's 01:18:19, working time ! Traceback (most recent call last): File "C:\Users\Darren Wong\bot.py", line 39, in DRIVER = CustomDriver(ARGUMENTS) File "C:\Users\Darren Wong\Classes\CustomDriver.py", line 72, in init self.DiscordLogin(self.CHANNEL) File "C:\Users\Darren Wong\Classes\CustomDriver.py", line 77, in DiscordLogin self.get(CHANNEL) File "C:\Users\Darren Wong\AppData\Local\Programs\Python\Python39\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 333, in get self.execute(Command.GET, {'url': url}) File "C:\Users\Darren Wong\AppData\Local\Programs\Python\Python39\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute self.error_handler.check_response(response) File "C:\Users\Darren Wong\AppData\Local\Programs\Python\Python39\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.InvalidArgumentException: Message: Malformed URL: URL constructor: 'https://discord.com/channels/631808494844248069/8333542410734' is not a valid URL.

vic1707 commented 2 years ago

Can you send the exact command you used please (hide you credentials!) Try with the url between " quotes instead of '

SirInferious commented 2 years ago

Ok, i have fixed the malformed issue. But once log in. I have the captcha issue that discord is asking for. Do you still need the code?

vic1707 commented 2 years ago

Can't do anything for the captcha unfortunately