Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Update Servers for all Sites #45

Open
bearachute opened this issue Jun 28, 2020 · 2 comments
Open

Update Servers for all Sites #45

bearachute opened this issue Jun 28, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@bearachute
Copy link

Not really a "bug" per say it looks as if KimCartoon has added a few servers, not to every show but there are a couple more beta servers.

Also what would be the best method of download? Right now I'm using IDM which works fairly decent for most servers, although sometimes it seems I have to go to the show I want and manually add it to download.

If I knew how I'd gladly help you in finding these server end points, I feel as if I'm the only one who still uses this script.

@bearachute bearachute added the bug Something isn't working label Jun 28, 2020
@thorio
Copy link
Owner

thorio commented Jun 29, 2020

Well if it's not a bug, you don't have to add the bug label 😄
You can look at the config for kimcartoon and try to add the new servers yourself.

new Server("hx", {
regex: /src="(\/\/playhydrax.com\/\?v=.*?)"/,
captureGroup: 1,
trimQuotes: false,
name: "HX (hydrax)",
linkType: LinkTypes.EMBED,
}),

You'll need to change the identifier (URL eg. s=hx), name, linkType, and regex values.
The script basically takes the entire page source and uses the regex to scan it, like this.
Select Tools > List to see the result, select Tools > Explain to see what each part of the regex means.

@thorio thorio added enhancement New feature or request and removed bug Something isn't working labels Jun 29, 2020
@thorio thorio changed the title Sorry to be a pest, didn't know if you'd noticed more servers New kimcartoon servers Jun 29, 2020
@thorio
Copy link
Owner

thorio commented Jul 27, 2020

Kissanime has also gained some new servers when I wasn't looking.

@thorio thorio changed the title New kimcartoon servers Update Servers for all Sites Jul 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants