cherr0406 / ingredients-checklist

extract ingredients from web recipes and compile them into one checklist.
https://ingredients-checklist.vercel.app
MIT License
0 stars 0 forks source link

An error occurs: "Protocol error (Page.navigate): Target closed" #12

Open cherr0406 opened 3 days ago

cherr0406 commented 3 days ago

Describe the bug An error "Protocol error (Page.navigate): Target closed" occurs when fetching recipe from url.

To Reproduce Steps to reproduce the behavior:

  1. input a recipe link
  2. Click on '取得'
  3. See error

Console error:

Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Failed to load resource: the server responded with a status of 500 ()

Expected behavior Display a recipe ingredients in the table with no error.

Screenshots

image

cherr0406 commented 3 days ago

~一緒にPlaywrightへのマイグレーションもする~ axios+cheerio で事足りそう