mirror of
https://github.com/recloudstream/csdocs.git
synced 2024-08-14 22:46:50 +00:00
update dev urls
This commit is contained in:
parent
b2dd673298
commit
37a41c715e
8 changed files with 15 additions and 15 deletions
|
@ -20,5 +20,5 @@ Cloudstream uses JSON files to fetch and parse lists of repositories. You can cr
|
|||
- `description`: self explanatory, will be visible in the app
|
||||
- `manifestVersion`: currently unused, may be used in the future for backwards compatibility
|
||||
- `pluginLists`: List of urls, which contain plugins. All of them will be fetched.
|
||||
- If you followed "[Using plugin template](../using-plugin-template.md)" tutorial, the appropriate `plugins.json` file should be in the builds branch of your new repository.
|
||||
- If you followed "[Using plugin template](using-plugin-template)" tutorial, the appropriate `plugins.json` file should be in the builds branch of your new repository.
|
||||
- If not, you can still generate one by running `gradlew makePluginsJson`
|
|
@ -16,7 +16,7 @@ Video links are often the most protected part of the website and if you cannot s
|
|||
|
||||
## 0. Scraping
|
||||
|
||||
If you are unfamiliar with the concept of scraping, you should probably start by reading [this guide](../scraping/index.md) which should hopefuly familiarize you with this technique.
|
||||
If you are unfamiliar with the concept of scraping, you should probably start by reading [this guide](scraping) which should hopefuly familiarize you with this technique.
|
||||
|
||||
## 1. Searching
|
||||
|
||||
|
|
|
@ -7,4 +7,4 @@ expanded: false
|
|||
# For extension developers
|
||||
This section will outline how to start developing your own extensions for Cloudstream.
|
||||
|
||||
You should probably start by reading [How to use our plugin template](../using-plugin-template.md).
|
||||
You should probably start by reading [How to use our plugin template](using-plugin-template).
|
||||
|
|
|
@ -100,4 +100,4 @@ pref("devtools.console.bypass", true);
|
|||
pref("devtools.debugger.bypass", true);
|
||||
```
|
||||
|
||||
### Next up: [Why your requests fail](../disguising_your_scraper.md)
|
||||
### Next up: [Why your requests fail](disguising_your_scraper)
|
|
@ -191,4 +191,4 @@ Keep in mind that if there is no ribbon/token, there is no way of reasonably acc
|
|||
|
||||
In any case, this is how you, as a decent developer, handle the response properly.
|
||||
|
||||
### Next up: [Finding video links](../finding_video_links.md)
|
||||
### Next up: [Finding video links](finding_video_links)
|
|
@ -11,10 +11,10 @@ If you find any aspect of this guide confusing please open an issue about it and
|
|||
|
||||
If you do not know programming at all then this guide will __not__ help you, learn programming! first Real scraping cannot be done by copy pasting with a vauge understanding.
|
||||
|
||||
0. [Starting scraping from zero](../starting.md)
|
||||
1. [Properly scraping JSON apis often found on sites](../using_apis.md)
|
||||
2. [Evading developer tools detection when scraping](../devtools_detectors.md)
|
||||
3. [Why your requests fail and how to fix them](../disguising_your_scraper.md)
|
||||
4. [Finding links and scraping videos](../finding_video_links.md)
|
||||
0. [Starting scraping from zero](starting)
|
||||
1. [Properly scraping JSON apis often found on sites](using_apis)
|
||||
2. [Evading developer tools detection when scraping](devtools_detectors)
|
||||
3. [Why your requests fail and how to fix them](disguising_your_scraper)
|
||||
4. [Finding links and scraping videos](finding_video_links)
|
||||
|
||||
Once you've read and understood the concepts behind scraping take a look at [a provider for CloudStream](https://github.com/recloudstream/cloudstream-extensions/blob/master/VidstreamBundle/src/main/kotlin/com/lagradost/VidEmbedProvider.kt#L4). I added tons of comments to make every aspect of writing CloudStream providers clear. Even if you're not planning on contributing to Cloudstream looking at the code may help.
|
|
@ -10,7 +10,7 @@ And sometimes its the only way `(eg: the site uses its API to load the content,
|
|||
Anyways, this guide won't teach the same concepts over and over again, <br/>
|
||||
so if you can't even make requests to an API then this will not tell you how to do that.
|
||||
|
||||
Refer to [starting](../starting.md) on how to make http/https requests.
|
||||
Refer to [starting](starting) on how to make http/https requests.
|
||||
And yes, this guide expects you to have basic knowledge on both Python and Kotlin.
|
||||
|
||||
### Using an API (and parsing json)
|
||||
|
@ -169,4 +169,4 @@ One thing to note is that you don't need to add all of the json key/value pairs
|
|||
Even though we set `DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES` as `false` it will still error on missing properties. <br/>
|
||||
If a json may or may not include some info, make those properties as nullable in the structure you build.
|
||||
|
||||
### Next up: [Evading developer tools detection](../devtools_detectors.md)
|
||||
### Next up: [Evading developer tools detection](devtools_detectors)
|
|
@ -9,7 +9,7 @@ The easiest way to start developing is to use our [plugin-template](https://gith
|
|||
|
||||
1) <a href="https://github.com/recloudstream/plugin-template/generate" target="_blank">Use our plugin template</a>
|
||||
|
||||
2) Select `Include all branches`: <!-- - ![Include all branches image](../use-template.png) -->
|
||||
2) Select `Include all branches`
|
||||
|
||||
3) Check if GitHub actions are enabled, by going to: `Settings > Actions > General > Allow all actions and reusable workflows`
|
||||
|
||||
|
@ -19,5 +19,5 @@ The easiest way to start developing is to use our [plugin-template](https://gith
|
|||
|
||||
After you have set up the repository, you can continue by reading:
|
||||
|
||||
- [Creating your own JSON repository](../create-your-own-json-repository.md)
|
||||
- [Creating your own providers](../create-your-own-providers.md)
|
||||
- [Creating your own JSON repository](create-your-own-json-repository)
|
||||
- [Creating your own providers](create-your-own-providers)
|
||||
|
|
Loading…
Reference in a new issue