xvideosx 1.5.6 → 1.5.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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": {