Skip to content

Commit

Permalink
Merge pull request #62 from psuzn/develop
Browse files Browse the repository at this point in the history
develop -> main
  • Loading branch information
psuzn authored Aug 6, 2024
2 parents 1af9722 + 8a49108 commit 46e3cbc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class AppDetailScrapper(
getAppDetail(packageName)
}.getOrElse {
repository.delete(packageName)
throw RuntimeException("AppDetailScrapper failed to scrap details ${it.message}")
throw RuntimeException("AppDetailScrapper failed to scrap details ${it.message}", it)
}

when {
Expand Down Expand Up @@ -164,7 +164,7 @@ class AppDetailScrapper(
companion object {
const val PRICE_MULTIPLIER = 1000_000f
val INIT_DATA_PATTERN: Pattern =
Pattern.compile("<script [A-Za-z-0-9=_\"]+>AF_initDataCallback\\((\\{.*?\\})\\);")
Pattern.compile("<script [A-Za-z-0-9=_\": ]+>AF_initDataCallback\\((\\{.*?\\})\\);")
}

data class Request(val packageName: String) : JobRequest {
Expand Down

0 comments on commit 46e3cbc

Please sign in to comment.