mirror of
https://github.com/movie-web/providers.git
synced 2025-09-13 13:53:34 +00:00
add docs
This commit is contained in:
13
.docs/content/1.Guide/1.targets.md
Normal file
13
.docs/content/1.Guide/1.targets.md
Normal file
@@ -0,0 +1,13 @@
|
||||
# Targets
|
||||
|
||||
When making an instance of the library using `makeProviders()`. It will immediately require choosing a target.
|
||||
|
||||
::alert{type="info"}
|
||||
A target is the device where the stream will be played on.
|
||||
**Where the scraping is run has nothing to do with the target**, only where the stream is finally played in the end is significant in choosing a target.
|
||||
::
|
||||
|
||||
#### Possible targets
|
||||
- **`targets.BROWSER`** Stream will be played in a browser with CORS
|
||||
- **`targets.NATIVE`** Stream will be played natively
|
||||
- **`targets.ALL`** Stream will be played on a device with no restrictions of any kind
|
Reference in New Issue
Block a user