Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Invalid URL #268

Open
yaneony opened this issue Dec 24, 2024 · 0 comments
Open

TypeError: Invalid URL #268

yaneony opened this issue Dec 24, 2024 · 0 comments

Comments

@yaneony
Copy link

yaneony commented Dec 24, 2024

Hello! Deployed using Docker Compose. Everything is working fine so far, only when refreshing keywords I'm getting strange error. I'm using my own proxy pool, which is running fine for another scraping projects. So, not a proxies fault.

PXQMAV7O

Here is error message that i get:

app-1  | [0] START SCRAPE:  mykeyword
app-1  | [0] GET /api/keywords?domain=domain.com
app-1  | [0] [ERROR] Scraping Keyword :  mykeyword . Error:  undefined
app-1  | [0] [ERROR_MESSAGE]:  TypeError: Invalid URL
app-1  | [0]     at new URL (node:internal/url:816:29)
app-1  | [0]     at /app/.next/server/chunks/941.js:369:25
app-1  | [0]     at Array.find (<anonymous>)
app-1  | [0]     at getSerp (/app/.next/server/chunks/941.js:368:30)
app-1  | [0]     at scrapeKeywordFromGoogle (/app/.next/server/chunks/941.js:279:26)
app-1  | [0]     at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
app-1  | [0]     at async refreshAndUpdateKeyword (/app/.next/server/chunks/941.js:79:34)
app-1  | [0]     at async refreshAndUpdateKeywords (/app/.next/server/chunks/941.js:59:37) {
app-1  | [0]   code: 'ERR_INVALID_URL',
app-1  | [0]   input: 'https://'
app-1  | [0] }
app-1  | [0] [SUCCESS] Updating the Keyword:  mykeyword
app-1  | [0] time taken: 1186.8467190000229ms

What could it be?!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant