import.io is pretty good at dealing with web pages, but what if you want to structure data in a file that is on your local machine?
One way would be to upload your file to a web server somewhere, but not everyone has that capability, or the data may be sensitive so shouldn’t be uploaded online.
There are a number of potential solutions to allow import.io to get the data from your local machine. Note that this process will only produce static data sources, which means you can only see the data in the Dataset page, and not query it to get updated data.
On Windows, we recommend using the Mongoose application. First, download mongoose from their site – the free edition will do nicely. Then, copy mongoose-free-*.*.*.exe from your Downloads folder to the folder that contains the file you want to get data from. Finally, double click on the mongoose-free-*.*.*.exe file to run it in that directory. Mongoose will then open the folder in your web browser; the URL should look something like this: http://192.168.56.1:8080/
Remember, import.io works best with HTML files, so your file should be in HTML format for it to work optimally. Use your web browser to open the HTML file; you can then copy the URL, and load it up in the import.io browser.
From here, you can press the “io” button (see below) and continue with the data process.
To exit Mongoose, you will find an icon in your system tray.
OS X and Linux
OS X and Linux conveniently come with programs built-in, so you don’t need to download anything.
First, open a Terminal (OS X) or command prompt (Linux). Use the “cd” command to navigate to the directory your HTML file is in. Then, get Python to run a web server for you, by using this command:
You can then access the directory in your browser using the URL http://127.0.0.1:8000/; you can navigate to the HTML file, and then copy and paste the URL in to the import.io browser. From there, you can press the “io” button (see below) and continue with the data process as normal.
Turn the web into data for free
Create your own datasets in minutes, no coding required
Powerful data extraction platform
Point and click interface
Export your data in any format
Unlimited queries and APIs