CyberPunkMetalHead / binance-trading-bot-new-coins

This Binance trading bot detects new coins as soon as they are listed on the Binance exchange and automatically places sell and buy orders. It comes with trailing stop loss and other features. If you like this project please consider donating via Brave.
MIT License
1.46k stars 270 forks source link

Selenium error with the CSS ID #93

Open EmmanuelDevienne opened 2 years ago

EmmanuelDevienne commented 2 years ago

Hi,

I have an error with the select ID in Selenium :

selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"css selector","selector":"[id="link-0-0-p1"]"}

Thanks in advance for your help.

EmmanuelDevienne commented 2 years ago

I have modified the 'get_last_coin' fonction and use class name. So now when i print the lastest_anouncement variable and the uppers I get a list with the characters pasted together and the last letter of each symbol is missing See the result :

working...

Binance Adds ATOM/BIDR, DYDX/ETH, FARM/ETH, FOR/BNB, ICP/TRY, JASMY/ETH, LINA/BNB, OOKI/ETH, ROSE/ETH, UMA/BUSD, UNI/ETH & XTZ/ETH Trading Pairs2022-01-13

ATOBIDDYDETFARETFOBNICTRJASMETLINBNOOKETROSETUMBUSUNETHXTETH

No new listings detected... Checking for coin announcements every 2 hours (in a separate thread)