xvideosx 1.5.6 → 1.5.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -27,7 +27,7 @@ const details = async ({ url, puppeteerConfig } = {}) => {
27
27
  const title = $element.find('.title a').text();
28
28
  const duration = $element.find('.duration').text();
29
29
  const channel = $element.find('.metadata .name').text();
30
- const url = `https://www.videos.com${$element.find('.title a').attr('href')}`;
30
+ const url = `https://www.xvideos.com${$element.find('.title a').attr('href')}`;
31
31
  const thumbNail = $element.find('.thumb img').attr('src');
32
32
  return {
33
33
  title,
@@ -17,7 +17,7 @@ const newFresh = async ({ url, puppeteerConfig } = {}) => {
17
17
  const videos = mozaique.map((index, element) => {
18
18
  const $element = $getVideos(element);
19
19
  const title = $element.find('.title a').attr('title');
20
- const url = `https://www.xvideos.com"${$element.find('.title a').attr('href')}`;
20
+ const url = `https://www.xvideos.com${$element.find('.title a').attr('href')}`;
21
21
  const thumbNail = $element.find('.thumb img').attr('src');
22
22
  const duration = $element.find('.duration').text();
23
23
  const name = $element.find('.metadata .name').text();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "xvideosx",
3
3
  "description": "xvideos.com api implementation.",
4
- "version": "1.5.6",
4
+ "version": "1.5.8",
5
5
  "main": "index.js",
6
6
  "license": "BSD-3-Clause",
7
7
  "repository": {