Hot answers tagged

7 votes

Wikipedia table to JSON (or other machine-readable format)

The wikitextparser Python module has good support for converting tables into structured formats. Example: import wikitextparser as wtp import requests import json r = requests.get('http://en....
user avatar
6 votes
Accepted

how to search archive.org for PDF files on a captured website between some date range

here's how i automated the process within R setwd( "C:/path/to/PDFs" ) year <- 2008 domain_name <- "anthem.com" archive_org_captures <- readLines( paste0( "http://...
user avatar
4 votes

how to search archive.org for PDF files on a captured website between some date range

Here is one way, although the API probably has more efficient methods. You can append * to the end of a URL in the Wayback Machine and it will return all of the saved URLs for that domain. The link ...
user avatar
  • 11.8k
3 votes

Wikipedia table to JSON (or other machine-readable format)

Sometimes it pays off to look one step ahead, i.e. to check if the items and its properties represented by a Wikipedia table are also available in the Wikidata knowledge base. Depending on the data, ...
user avatar
2 votes

how to search archive.org for PDF files on a captured website between some date range

Using the official wayback_machine_downloader tool: wayback_machine_downloader https://www.anthem.com --from 2005 --to 2008 --only "/\.(pdf)$/i"
user avatar
1 vote
Accepted

Where can I find HTML5 metadata?

HTML is machine-readable/can be parsed, so not sure what you mean by "unprocesable". The document containing the information you desire may as well be valid markup, but more importantly proves its ...
user avatar
  • 11.8k
1 vote
Accepted

Advertising Corpus for SVM

After long hours of searching, I could not find one. The short answer was to crawl many different websites, separate the data, and use multi-nomial bayes or a radial basis function depending on how ...
user avatar
1 vote

Wikipedia table to JSON (or other machine-readable format)

TableTools2 https://addons.mozilla.org/en-US/firefox/addon/tabletools2/ It's a Firefox addon that enables right-click copying of the table like this: It works quite well and is very stable.
user avatar
1 vote

Wikipedia table to JSON (or other machine-readable format)

You can try with http://pasty.link/ that it has ad hoc function to export in csv and json file.
user avatar
  • 11

Only top scored, non community-wiki answers of a minimum length are eligible