-
Notifications
You must be signed in to change notification settings - Fork 479
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
Added Zorofile (extractor) #58
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
headers = mapOf( | ||
"Origin" to mainUrl, | ||
) | ||
).forEach { m3uData -> sources.add(m3uData) } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
instead of adding like this, you can just return M3u8Helper.generateM3u8(...)
// "Accept-Encoding" to "gzip, deflate, br", | ||
// "Accept-Language" to "en-US,en;q=0.5", | ||
// "Connection" to "keep-alive", | ||
"Content-Length" to "626", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤨 this should be auto inferred
override val mainUrl = "https://zorofile.com" | ||
override val requiresReferer = true | ||
|
||
override suspend fun getUrl(url: String, referer: String?): List<ExtractorLink> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to change, but be aware that the new api you should use is https://github.com/recloudstream/cloudstream/blob/master/app/src/main/java/com/lagradost/cloudstream3/utils/ExtractorApi.kt#L390
ready to merge |
No description provided.