mirror of
https://github.com/movie-web/providers.git
synced 2025-09-13 13:33:25 +00:00
Redo folder structure
This commit is contained in:
@@ -11,4 +11,4 @@ We support many different environments, here are a few examples:
|
||||
- In a native app, scrape in the app itself
|
||||
- In a backend server, scrape on the server and give the streams to the client to watch.
|
||||
|
||||
To find out how to configure the library for your environment, You can read [How to use on X](../2.Essentials/0.usage-on-x.md).
|
||||
To find out how to configure the library for your environment, You can read [How to use on X](../2.essentials/0.usage-on-x.md).
|
@@ -21,7 +21,7 @@ Let's get started with `@movie-web/providers`. First lets install the package.
|
||||
To get started with scraping on the **server**, first you have to make an instance of the providers.
|
||||
|
||||
::alert{type="warning"}
|
||||
This snippet will only work on a **server**, for other environments, check out [Usage on X](../2.Essentials/0.usage-on-x.md).
|
||||
This snippet will only work on a **server**, for other environments, check out [Usage on X](../2.essentials/0.usage-on-x.md).
|
||||
::
|
||||
|
||||
```ts [index.ts (server)]
|
||||
@@ -57,4 +57,4 @@ const output = await providers.runAll({
|
||||
```
|
||||
|
||||
Now we have our stream in the output variable. (If the output is `null` then nothing could be found.)
|
||||
To find out how to use the streams, check out [Using streams](../2.Essentials/4.using-streams.md).
|
||||
To find out how to use the streams, check out [Using streams](../2.essentials/4.using-streams.md).
|
@@ -9,7 +9,7 @@ So here is a checklist, for more specific environments, keep reading below:
|
||||
|
||||
To make use of the examples below, You check check out the following pages:
|
||||
- [Quick start](../1.get-started/1.quick-start.md)
|
||||
- [Using streams](../2.Essentials/4.using-streams.md)
|
||||
- [Using streams](../2.essentials/4.using-streams.md)
|
||||
|
||||
## NodeJs server
|
||||
```ts
|
Reference in New Issue
Block a user