openload-url
Version:
Gets the stream URL from Openload
33 lines (25 loc) • 645 B
Markdown
async/await:
```js
const Openload = require("openload-url");
(async () => {
ol = await new Openload().downloadPage("https://openload.co/f/0YLJPTP8118");
ol.scrape();
console.log(ol.getUrl())
})();
```
Using .then()
```js
const Openload = require("openload-url");
new Openload().downloadPage("https://openload.co/f/0YLJPTP8118").then(ol => {
ol.scrape();
console.log(ol.getUrl());
});
```
This module allows you to retrieve the original stream URL of an Openload video
This module can be installed via npm:
```sh
$ npm i openload-url
```
Using