B
B
Bla Bla2020-11-15 16:36:19
JavaScript
Bla Bla, 2020-11-15 16:36:19

How to scrape from two sites at the same time?

I use UserScript Tampermonkey and wrote one site in match, and where should I stick another site so that the script knows what to work with. Or maybe I need to implement two functions in one script and use the js capabilities to somehow prescribe their path to different sites.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Aetae, 2020-11-15
@SubUser

Just stick another one @match, the number is not limited.
In the script itself, obviously, you can distinguish them by locatoin.hostname.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question