Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 905 Bytes

README.md

File metadata and controls

39 lines (28 loc) · 905 Bytes

Setup

In build.gradle repositories:

maven { url 'https://jitpack.io' }

In app/build.gradle dependencies:

implementation 'com.github.Blatzar:NiceHttp:0.4.4'

Video tutorial

https://t.me/azamovme/124

Scraping a document with Nice Http

suspend fun main() {
    val scannerForNext = Scanner(System.`in`)
    coroutineScope {
        val uzmoviBase = UzmoviBase()
        print("Enter Movie Name :")
        val movieName = scanner.nextLine()
        displayLoadingAnimation("Searching for movies", Color.GREEN)
        val list = uzmoviBase.searchMovie(movieName)
        printlnColored(" Selected Movie: ${list[0].title}", Color.GREEN)
        displayLoadingAnimation("Loading Episodes", Color.GREEN)
        uzmoviBase.movieDetails(list[0]) // Get Movie Details  Scraping by href

    }
}

Thanks For Blatzar