diff --git a/README.md b/README.md
index 47e8a6d4..5d374f7b 100644
--- a/README.md
+++ b/README.md
@@ -125,7 +125,7 @@ Maven:
com.github.sokomishalov.skraper
skrapers
- 0.5.0
+ 0.5.1
```
@@ -136,7 +136,7 @@ repositories {
maven { url = uri("http://jitpack.io") }
}
dependencies {
- implementation("com.github.sokomishalov.skraper:skrapers:0.5.0")
+ implementation("com.github.sokomishalov.skraper:skrapers:0.5.1")
}
```
diff --git a/cli/src/main/kotlin/ru/sokomishalov/skraper/cli/Main.kt b/cli/src/main/kotlin/ru/sokomishalov/skraper/cli/Main.kt
index 4516a1ba..40dab09a 100644
--- a/cli/src/main/kotlin/ru/sokomishalov/skraper/cli/Main.kt
+++ b/cli/src/main/kotlin/ru/sokomishalov/skraper/cli/Main.kt
@@ -42,7 +42,7 @@ import kotlin.text.Charsets.UTF_8
fun main(args: Array) = mainBody(columns = 100) {
val parsedArgs = ArgParser(args = args.ifEmpty { arrayOf("--help") }).parseInto(::Args)
- println("${"Skraper".green()} ${"v.0.5.0".magenta()} started")
+ println("${"Skraper".green()} ${"v.0.5.1".magenta()} started")
val posts = runBlocking {
parsedArgs.skraper.getPosts(
diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle
index d7ab5bef..900e76e2 100644
--- a/example/android/app/build.gradle
+++ b/example/android/app/build.gradle
@@ -37,7 +37,7 @@ repositories {
}
dependencies {
- def skraper_version = "0.5.0"
+ def skraper_version = "0.5.1"
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version'
implementation 'androidx.appcompat:appcompat:1.1.0'
diff --git a/pom.xml b/pom.xml
index b3d0c59e..404691fd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -10,22 +10,22 @@
pom
- 0.5.0
+ 0.5.1
1.8
1.3.72
- 1.3.7
- 2.11.0
+ 1.3.8
+ 2.11.1
1.13.1
- 0.9.8.RELEASE
- 4.7.2
- 5.2.6.RELEASE
- 2.3.0.RELEASE
+ 0.9.10.RELEASE
+ 4.8.0
+ 5.2.7.RELEASE
+ 2.3.1.RELEASE
1.3.2
2.0.7
4.9
- 1.1.15
+ 1.1.18
1.2.3
diff --git a/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/facebook/FacebookSkraper.kt b/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/facebook/FacebookSkraper.kt
index e63e6a99..d1e575ce 100644
--- a/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/facebook/FacebookSkraper.kt
+++ b/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/facebook/FacebookSkraper.kt
@@ -38,7 +38,7 @@ import ru.sokomishalov.skraper.model.*
/**
* @author sokomishalov
*/
-class FacebookSkraper @JvmOverloads constructor(
+open class FacebookSkraper @JvmOverloads constructor(
override val client: SkraperClient = DefaultBlockingSkraperClient,
override val baseUrl: URLString = "https://facebook.com"
) : Skraper {
diff --git a/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/flickr/FlickrSkraper.kt b/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/flickr/FlickrSkraper.kt
index dc5ee381..ef33e348 100644
--- a/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/flickr/FlickrSkraper.kt
+++ b/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/flickr/FlickrSkraper.kt
@@ -38,7 +38,7 @@ import ru.sokomishalov.skraper.model.MediaSize.*
/**
* @author sokomishalov
*/
-class FlickrSkraper @JvmOverloads constructor(
+open class FlickrSkraper @JvmOverloads constructor(
override val client: SkraperClient = DefaultBlockingSkraperClient,
override val baseUrl: URLString = "https://flickr.com"
) : Skraper {
diff --git a/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/ifunny/IFunnySkraper.kt b/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/ifunny/IFunnySkraper.kt
index 7ed6103b..a24c1840 100644
--- a/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/ifunny/IFunnySkraper.kt
+++ b/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/ifunny/IFunnySkraper.kt
@@ -32,7 +32,7 @@ import ru.sokomishalov.skraper.model.MediaSize.*
/**
* @author sokomishalov
*/
-class IFunnySkraper @JvmOverloads constructor(
+open class IFunnySkraper @JvmOverloads constructor(
override val client: SkraperClient = DefaultBlockingSkraperClient,
override val baseUrl: URLString = "https://ifunny.co"
) : Skraper {
diff --git a/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/instagram/InstagramSkraper.kt b/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/instagram/InstagramSkraper.kt
index 25bad4ee..b0c67171 100644
--- a/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/instagram/InstagramSkraper.kt
+++ b/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/instagram/InstagramSkraper.kt
@@ -30,7 +30,7 @@ import ru.sokomishalov.skraper.model.MediaSize.*
/**
* @author sokomishalov
*/
-class InstagramSkraper @JvmOverloads constructor(
+open class InstagramSkraper @JvmOverloads constructor(
override val client: SkraperClient = DefaultBlockingSkraperClient,
private val gqlUserMediasQueryId: String = "17888483320059182",
override val baseUrl: URLString = "https://instagram.com"
diff --git a/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/ninegag/NinegagSkraper.kt b/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/ninegag/NinegagSkraper.kt
index af36ebbf..949f18db 100644
--- a/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/ninegag/NinegagSkraper.kt
+++ b/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/ninegag/NinegagSkraper.kt
@@ -33,7 +33,7 @@ import java.time.Duration
/**
* @author sokomishalov
*/
-class NinegagSkraper @JvmOverloads constructor(
+open class NinegagSkraper @JvmOverloads constructor(
override val client: SkraperClient = DefaultBlockingSkraperClient,
override val baseUrl: URLString = "https://9gag.com"
) : Skraper {
diff --git a/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/pikabu/PikabuSkraper.kt b/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/pikabu/PikabuSkraper.kt
index 2264d764..e60adf78 100644
--- a/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/pikabu/PikabuSkraper.kt
+++ b/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/pikabu/PikabuSkraper.kt
@@ -32,7 +32,7 @@ import java.time.ZonedDateTime
import java.time.format.DateTimeFormatter
import kotlin.text.Charsets.UTF_8
-class PikabuSkraper @JvmOverloads constructor(
+open class PikabuSkraper @JvmOverloads constructor(
override val client: SkraperClient = DefaultBlockingSkraperClient,
override val baseUrl: URLString = "https://pikabu.ru"
) : Skraper {
diff --git a/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/pinterest/PinterestSkraper.kt b/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/pinterest/PinterestSkraper.kt
index ba0ed2f0..90208dd0 100644
--- a/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/pinterest/PinterestSkraper.kt
+++ b/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/pinterest/PinterestSkraper.kt
@@ -34,7 +34,7 @@ import java.util.Locale.ROOT
/**
* @author sokomishalov
*/
-class PinterestSkraper @JvmOverloads constructor(
+open class PinterestSkraper @JvmOverloads constructor(
override val client: SkraperClient = DefaultBlockingSkraperClient,
override val baseUrl: URLString = "https://pinterest.com"
) : Skraper {
diff --git a/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/reddit/RedditSkraper.kt b/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/reddit/RedditSkraper.kt
index 2f7db5e6..d59ddeee 100644
--- a/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/reddit/RedditSkraper.kt
+++ b/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/reddit/RedditSkraper.kt
@@ -28,7 +28,7 @@ import ru.sokomishalov.skraper.internal.number.div
import ru.sokomishalov.skraper.internal.serialization.*
import ru.sokomishalov.skraper.model.*
-class RedditSkraper @JvmOverloads constructor(
+open class RedditSkraper @JvmOverloads constructor(
override val client: SkraperClient = DefaultBlockingSkraperClient,
override val baseUrl: URLString = "https://reddit.com"
) : Skraper {
diff --git a/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/tumblr/TumblrSkraper.kt b/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/tumblr/TumblrSkraper.kt
index 30ef2f48..4a6bbd48 100644
--- a/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/tumblr/TumblrSkraper.kt
+++ b/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/tumblr/TumblrSkraper.kt
@@ -36,7 +36,7 @@ import java.time.ZoneOffset.UTC
import java.time.format.DateTimeFormatter
import java.util.Locale.ENGLISH
-class TumblrSkraper @JvmOverloads constructor(
+open class TumblrSkraper @JvmOverloads constructor(
override val client: SkraperClient = DefaultBlockingSkraperClient,
override val baseUrl: URLString = "https://tumblr.com"
) : Skraper {
diff --git a/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/twitch/TwitchSkraper.kt b/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/twitch/TwitchSkraper.kt
index 73085d69..e0a4117c 100644
--- a/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/twitch/TwitchSkraper.kt
+++ b/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/twitch/TwitchSkraper.kt
@@ -33,7 +33,7 @@ import kotlin.text.Charsets.UTF_8
/**
* @author sokomishalov
*/
-class TwitchSkraper @JvmOverloads constructor(
+open class TwitchSkraper @JvmOverloads constructor(
override val client: SkraperClient = DefaultBlockingSkraperClient,
override val baseUrl: URLString = "https://twitch.tv",
private val graphBaseUrl: URLString = "https://gql.twitch.tv/gql",
diff --git a/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/twitter/TwitterSkraper.kt b/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/twitter/TwitterSkraper.kt
index 675fac2d..6ff454fe 100644
--- a/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/twitter/TwitterSkraper.kt
+++ b/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/twitter/TwitterSkraper.kt
@@ -35,7 +35,7 @@ import kotlin.text.Charsets.UTF_8
/**
* @author sokomishalov
*/
-class TwitterSkraper @JvmOverloads constructor(
+open class TwitterSkraper @JvmOverloads constructor(
override val client: SkraperClient = DefaultBlockingSkraperClient,
override val baseUrl: URLString = "https://twitter.com",
private val apiBaseUrl: URLString = "https://api.twitter.com"
diff --git a/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/vk/VkSkraper.kt b/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/vk/VkSkraper.kt
index 03fc6f2c..ac7755a8 100644
--- a/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/vk/VkSkraper.kt
+++ b/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/vk/VkSkraper.kt
@@ -34,7 +34,7 @@ import java.util.Locale.ENGLISH
/**
* @author sokomishalov
*/
-class VkSkraper @JvmOverloads constructor(
+open class VkSkraper @JvmOverloads constructor(
override val client: SkraperClient = DefaultBlockingSkraperClient,
override val baseUrl: URLString = "https://vk.com"
) : Skraper {
diff --git a/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/youtube/YoutubeSkraper.kt b/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/youtube/YoutubeSkraper.kt
index a4fe5e48..3947703e 100644
--- a/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/youtube/YoutubeSkraper.kt
+++ b/skrapers/src/main/kotlin/ru/sokomishalov/skraper/provider/youtube/YoutubeSkraper.kt
@@ -34,7 +34,7 @@ import java.time.chrono.ChronoPeriod
import java.time.temporal.ChronoUnit.DAYS
import java.time.temporal.TemporalAmount
-class YoutubeSkraper @JvmOverloads constructor(
+open class YoutubeSkraper @JvmOverloads constructor(
override val client: SkraperClient = DefaultBlockingSkraperClient,
override val baseUrl: URLString = "https://www.youtube.com"
) : Skraper {