Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 542 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 542 Bytes

opds_fetcher_parser

npm install https://github.com/edrlab/opds_fetcher_parser.git

or with node14

npm install git+https://github.com/edrlab/opds_fetcher_parser.git

demo

const opds = require('opds-fetcher-parser');
const fs = require('fs');

(async function () {

  const o = new opds.OpdsFetcher();

  const feed = await o.feedRequest("https://storage.googleapis.com/audiobook_edrlab/navigation/thematic_list.json");

  console.log(feed);
  fs.writeFileSync("/tmp/feed.json", JSON.stringify(feed));
  
})()