Question about my specific example, using filters [Solved!] #40
-
Hi when i try on this link https://public.tableau.com/app/profile/roy.morgan.research/viz/PublicCovid-19MovementDataMel_A/Visitorpage it is giving me the error below: `from tableauscraper import TableauScraper as TS ts = TS() File "", line 6, in File "C:\ProgramData\Anaconda4\lib\site-packages\tableauscraper\TableauScraper.py", line 80, in loads AttributeError: 'NoneType' object has no attribute 'text'` Can you tell me what the issue might be? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
@ErandM50 The tableau url is: https://public.tableau.com/views/PublicCovid-19MovementDataMel_A/Visitorpage. You can locate this url from the network tab of Chrome dev console. It seems it calls the base path from tableauscraper import TableauScraper as TS
url = "https://public.tableau.com/views/PublicCovid-19MovementDataMel_A/Visitorpage"
ts = TS()
ts.loads(url)
workbook = ts.getWorkbook()
for t in workbook.worksheets:
print(f"worksheet name : {t.name}") # show worksheet name
print(t.data) # show dataframe for this worksheet |
Beta Was this translation helpful? Give feedback.
-
@bertrandmartel amazing! This works perfectly for me. I appreciate your work on this and the support! |
Beta Was this translation helpful? Give feedback.
@ErandM50 The tableau url is: https://public.tableau.com/views/PublicCovid-19MovementDataMel_A/Visitorpage. You can locate this url from the network tab of Chrome dev console. It seems it calls the base path
/app/profile
but then uses/views
url to get the data: