better-ani-scraped 1.1.0 → 1.1.1

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.
package/README.md CHANGED
@@ -43,4 +43,4 @@ Please make sure you review the websites' terms of service and obtain permission
43
43
 
44
44
 
45
45
  ### Special thanks to
46
- - [Hxpe Dev](https://github.com/hxpe_dev)
46
+ - [Hxpe Dev](https://github.com/hxpe-dev)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "better-ani-scraped",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Scrape anime data from different sources (only anime-sama.fr for the moment)",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -194,14 +194,14 @@ export async function getEmbed(animeUrl, hostPriority = ["vidmoly"]) {
194
194
  const titles = await getEpisodeTitles(animeUrl);
195
195
  return titles.slice(0, filtered.length).map((title, i) => ({
196
196
  title,
197
- url: [filtered[i]]
197
+ url: filtered[i]
198
198
  }));
199
199
  }
200
200
  }
201
201
  const titles = await getEpisodeTitles(animeUrl);
202
202
  return titles.slice(0, allEmbeds.length).map((title, i) => ({
203
203
  title,
204
- url: [allEmbeds[i]]
204
+ url: allEmbeds[i]
205
205
  }));
206
206
  }
207
207