Skip to content

How to import URLS? #43

Answered by philippta
dynabler asked this question in Q&A
Feb 16, 2024 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

Update

With the v07.2 release, this got a lot more user friendly.
Flyscrape now automatically cleans up the urls and also ignores empty lines in the file.
This also means, the JavaScript can be simplified a lot.

import urls from "./urls.txt"

export const config = {
  urls: urls.split("\n")
};

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@philippta
Comment options

@philippta
Comment options

Answer selected by dynabler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants