Hi,
if I run
curl -L "https://en.wikipedia.org/wiki/Olympic_medal" | vd -f html +:table_2:1:1
vd does not open table_2. What's wrong in my command?
Thank you
It was a bug! >___>
Very nice catch! Should be fixed on develop.
Also, @aborruso, note that vd https://en.wikipedia.org/wiki/Olympic_medal will also work (don't need curl or even -f html).
@anjakefala @saulpw it works great.
Thank you very much
Hi,
I have no problem to open the sheet "results" of the attached html file, running vd input8.html and then selecting it and clicking return

But if I run vd +:results:: input8.html I have the below error. I'm using the latest develop version.
Thank you
Traceback (most recent call last):
File "/home/aborruso/.local/bin/vd", line 6, in <module>
visidata.main.vd_cli()
File "/home/aborruso/.local/lib/python3.7/site-packages/visidata/main.py", line 213, in vd_cli
rc = main_vd()
File "/home/aborruso/.local/lib/python3.7/site-packages/visidata/main.py", line 152, in main_vd
vs = vd.getSheet(startsheets[0]) or sources[-1]
File "/home/aborruso/.local/lib/python3.7/site-packages/visidata/basesheet.py", line 216, in getSheet
sheetidx = int(sheetname)
ValueError: invalid literal for int() with base 10: ''
Hi @aborruso! Thanks for the bug report, and thanks for the sample data. Sorry it took so long to fix. My change had a small regression. It should work now.
@anjakefala thank you very much
Most helpful comment
Hi @aborruso! Thanks for the bug report, and thanks for the sample data. Sorry it took so long to fix. My change had a small regression. It should work now.