bertrandmartel / tableau-scraping

Tableau scraper python library. R and Python scripts to scrape data from Tableau viz
MIT License
126 stars 20 forks source link

README example does not work anymore. #77

Open rasjani opened 4 months ago

rasjani commented 4 months ago

Example starting at: https://github.com/bertrandmartel/tableau-scraping/blob/master/README.md?plain=1#L30 does not work anymore.

Code is looking for textarea tag with an id but it looks like there's no such tag in the page anymore. Tableau change thats not reflected in the scraper side ?

Few people on StackOverflow has question about this:

Im not tableau-scraping user. I just filed this issue so that people are aware that current implementation most likely does not work.

JeremyWhittaker commented 4 months ago

I'm getting the same error, JSONDecodeError: Expecting value: line 1 column 1 (char 0)

djay commented 3 months ago

I think I might have a fix that solves the problem in #79. or at least it fixes it for my case

PierreMesure commented 3 months ago

Your fix works great for the example in the README, @djay. I've tried it with another URL and I get the correct list of files but with empty dataframes.

djay commented 3 months ago

@PierreMesure It worked for my usecase. Someone else might have to extend the patch to make it work for that other example or more generally. The tests pass so there needs to be more tests. Someone else can build on top of my patch to work out what else has changed and make it work.