better-ani-scraped 1.2.6 → 1.2.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "better-ani-scraped",
3
- "version": "1.2.6",
3
+ "version": "1.2.7",
4
4
  "description": "Scrape anime data from different sources (only anime-sama.fr for the moment)",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -126,6 +126,7 @@ export async function getSeasons(animeUrl, language = "vostfr") {
126
126
 
127
127
 
128
128
  export async function getEpisodeTitles(animeUrl) {
129
+ console.log('Executable path:', puppeteer.executablePath());
129
130
  let browser;
130
131
  try {
131
132
  browser = await puppeteer.launch({
@@ -170,7 +171,7 @@ export async function getEmbed(animeUrl, hostPriority = ["vidmoly"]) {
170
171
  ? animeUrl + scriptTag
171
172
  : animeUrl + "/" + scriptTag;
172
173
 
173
- const episodesJs = await axios
174
+ const episodesJs = await axios
174
175
  .get(scriptUrl, { headers: getHeaders(animeUrl) })
175
176
  .then((r) => r.data);
176
177