jchao01 / TradingView-data-scraper

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

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

Open Math9999 opened 5 years ago

Math9999 commented 5 years ago

Dear Mr,

I should have installed everything correctly.

tempsnip

Unfortunately I get an error message when I use e.g. your link: https://tradingview-data.herokuapp.com/quotes?url=https://www.tradingview.com/chart/SPY/vjYfwgMu-SPY-Export-Test/

Same error appeared when I used your own link before I installed everything.

Thank you very much if you find the time to help me. If not, no problem. All the best!

jpisfil10 commented 4 years ago

i have the same issue, have u found out a solution?

foxtrotamericana commented 4 years ago

Hi there, I used your script back in July of last year successfully. I really appreciate you building it. I have tried to use it again today but am now getting the same error as the other guys mentioned earlier. I understand that tradingview has enabled customers to export data if they are a pro+ or premium subscriber. For those of us that only have a pro or basic subscription, your scraper would remain very useful. If you get a chance, please advise on the error we are receiving.

cookt commented 4 years ago

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

avatar-lavventura commented 4 years ago

I am having the same error when I tried it on the browser, is there any update on this?

ignatievvictor commented 4 years ago

i am in trouble too.