ContentMine/quickscrape

Download multiple supplemental files (e.g. tables)

Opened this issue · 1 comments

Some papers contain links to tables, which can be downloaded with a selector output to table.csv. However they need naming (e.g. table1.csv, table2.csv...) otherwise they overwrite and end with a single file (the last).

Cannot create subdirectories:

    "csv1": {
      "selector": "//a[@id='CSVdownloadButton'][1]",
      "attribute": "href",
      "download": {
        "rename": "tables/table1.csv"
      }
    },

hangs...