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

Need Help with Scraping #5

Open
LincCodes opened this issue Jun 29, 2022 · 1 comment
Open

Need Help with Scraping #5

LincCodes opened this issue Jun 29, 2022 · 1 comment

Comments

@LincCodes
Copy link

Hey, have read your well-structured documentation on web scraping.

I am a JavaScript developer who uses axios and cheerio to web scrape (They work just like (jsoup in Kotlin)

I have a hard time extracting video in movies sites like sflix.to or zoro.to and I was asking if you make try to make me understand how it's done.

I have seen the source code of CloudStream but I don't know Kotlin so I have a hard time understanding what the code does and how to follow the execution of the program.

I have tried researching on this but to no avail so your assistance will high be appreciated.

Regards.

@Blatzar
Copy link
Owner

Blatzar commented Jun 29, 2022

What part of it is hard to understand?

  1. Get source IDs
  2. Get servers
  3. Get iframe urls
  4. Solve recaptcha
  5. Get video links from embed

Currently they don't use polling in sflix so that can be safely ignored.
Zoro uses polling, but I don't think our code works 🤷
Either way try to replicate this for polling in zoro, our code is pretty shit. They basically run a websocket in the background while streaming to ensure it's viewed on their site.
image
image

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

No branches or pull requests

2 participants