jchao01 / TradingView-data-scraper

Extract price and indicator data from TradingView charts to create ML datasets
Apache License 2.0
482 stars 112 forks source link

Scrapper not longer works #18

Open ignatievvictor opened 4 years ago

ignatievvictor commented 4 years ago

Hi bro! I've tried your links, and try to make my published chart% https://www.tradingview.com/chart/UKOIL/kiqWXRR6-teet-ukoil/ but have no success. Both times i got response from https://tradingview-data.herokuapp.com/quotes?url=https://www.tradingview.com/chart/UKOIL/kiqWXRR6-teet-ukoil/

{"error":"Protocol error Runtime.callFunctionOn: Target closed."}

Where is a problem? its heroku's issue or tradingview gus has changed something?

ignatievvictor commented 4 years ago

Duplicate of #15

Traced back this issue to the initial selector: get_csv await page.waitForSelector('.pane-legend-title__container'. The markup of tradingview has evidently changed so the selectors in app.py need to be updated for this to work properly

no idea hot to fix it.

desimpkins commented 3 years ago

such as shame - this looked so promising!!! Would love to see this updated?!

jbexta commented 2 years ago

You can now export data directly from tradingview with a paid membership