Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extractor: added some extractors #833

Merged
merged 4 commits into from
Dec 31, 2023
Merged

Extractor: added some extractors #833

merged 4 commits into from
Dec 31, 2023

Conversation

keyiflerolsun
Copy link
Contributor

Odnoklassniki,
TauVideo,
SibNet,
ContentX,
Hotlinger,
HDMomPlayer,
HDPlayerSystem,
VideoSeyred,
PeaceMakerst,
HDStreamAble,
RapidVid,
TRsTX,
VidMoxy,
PixelDrain,
MailRu

All working in my own repo: https://github.com/keyiflerolsun/Kekik-cloudstream

@keyiflerolsun
Copy link
Contributor Author

Can I override relevant classes when updating my own repo?

@fire-light42
Copy link
Collaborator

Can I override relevant classes when updating my own repo?

wdym

@keyiflerolsun
Copy link
Contributor Author

Can I override relevant classes when updating my own repo?

wdym

For Example;

Planning to override Vidmoly's getUrl method as follows for customization:

val customVidmoly = object : Vidmoly() {
    override suspend fun getUrl(url: String, referer: String?, subtitleCallback: (SubtitleFile) -> Unit, callback: (ExtractorLink) -> Unit) {
        // Custom implementation
    }
}

Usage: customVidmoly.getUrl(url, referer, subtitleCallback, callback)

Is this approach acceptable?

Copy link
Collaborator

@fire-light42 fire-light42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ExtractorLink source should always be this.name

@fire-light42 fire-light42 merged commit 2cfdab5 into recloudstream:master Dec 31, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants