|
@@ -11,13 +11,6 @@ import eu.kanade.tachiyomi.network.asObservableSuccess
|
|
|
import eu.kanade.tachiyomi.util.lang.toCalendar
|
|
|
import eu.kanade.tachiyomi.util.selectInt
|
|
|
import eu.kanade.tachiyomi.util.selectText
|
|
|
-import java.io.BufferedReader
|
|
|
-import java.io.InputStreamReader
|
|
|
-import java.text.SimpleDateFormat
|
|
|
-import java.util.Calendar
|
|
|
-import java.util.GregorianCalendar
|
|
|
-import java.util.Locale
|
|
|
-import java.util.zip.GZIPInputStream
|
|
|
import okhttp3.FormBody
|
|
|
import okhttp3.MediaType.Companion.toMediaTypeOrNull
|
|
|
import okhttp3.OkHttpClient
|
|
@@ -30,6 +23,13 @@ import org.jsoup.nodes.Document
|
|
|
import org.jsoup.nodes.Element
|
|
|
import org.jsoup.parser.Parser
|
|
|
import rx.Observable
|
|
|
+import java.io.BufferedReader
|
|
|
+import java.io.InputStreamReader
|
|
|
+import java.text.SimpleDateFormat
|
|
|
+import java.util.Calendar
|
|
|
+import java.util.GregorianCalendar
|
|
|
+import java.util.Locale
|
|
|
+import java.util.zip.GZIPInputStream
|
|
|
|
|
|
class MyAnimeListApi(private val client: OkHttpClient, interceptor: MyAnimeListInterceptor) {
|
|
|
|