CyberPunkMetalHead / Binance-News-Sentiment-Bot

This is a fully functioning Binance trading bot that takes into account the news sentiment for the top 100 crypto feeds. If you like this project consider donating though the Brave browser to allow me to continuously improve the script.
MIT License
1.57k stars 290 forks source link

Could not parse error #19

Closed Gabo-Nane closed 3 years ago

Gabo-Nane commented 3 years ago

When running the code, the headlines of some pages are not being parsed (like 37/103 pages are actually being parced) the error says: "Could not parse "www.examplepage.com/feed" error is: " (doesn't say what the error is, it just says there's an error)

Could not parse error

When i click those links i just see some code, i tried openning the pages in different browsers but always return code.

page

(sorry for writing this here but idk if this is against any /r/bitcoin rules)

idanpl commented 3 years ago

I think that the timeout given was simply to small (7 seconds). I increased the timeout on my local computer to 60 seconds, and many articles could not be parsed.

idanpl commented 3 years ago

sending a pull request.