Skip to content

Commit

Permalink
Merge pull request #13 from rodrigogs/dependabot/npm_and_yarn/axios-0…
Browse files Browse the repository at this point in the history
….21.1

Dependabot/npm and yarn/axios 0.21.1
  • Loading branch information
rodrigogs authored Apr 26, 2021
2 parents 35e8e31 + d2e6d84 commit 0e3825b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions lib/api/videos/details/details.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
const cheerio = require('cheerio');
const puppeteer = require('puppeteer');

const details = async ({ url } = {}) => {
const details = async ({ url, puppeteerConfig } = {}) => {
let browser;
try {
browser = await puppeteer.launch();
browser = await puppeteer.launch(puppeteerConfig);
const page = await browser.newPage();
await page.goto(url, { waitUntil: 'networkidle2' });
const html = await page.content();
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@rodrigogs/xvideos",
"description": "xvideos.com api implementation.",
"version": "1.1.2",
"version": "1.2.0",
"main": "index.js",
"license": "BSD-3-Clause",
"repository": {
Expand Down

0 comments on commit 0e3825b

Please sign in to comment.