spedas / bleeding_edge

IDL-based Space Physics Environment Data Analysis Software (bleeding edge)
http://www.spedas.org
Other
7 stars 0 forks source link

Function download() needs a "text_only" option #165

Closed nickssl closed 5 months ago

nickssl commented 5 months ago

Sometimes the data is a part of a web page. For example, dst index data: https://wdc.kugi.kyoto-u.ac.jp/dst_final/201505/index.html

When the pyspedas download() function tries to download these pages, it actually downloads a binary object for the session and not the HTML text. A "text_only" keyword can be added to download and save only the text of these pages.

nickssl commented 5 months ago

text_only was added