Ezerous
5 years ago
No known key found for this signature in database
GPG Key ID: 262B2954BBA319E3
3 changed files with
5 additions and
5 deletions
-
app/build.gradle
-
app/src/main/java/gr/thmmy/mthmmy/activities/board/BoardActivity.java
-
app/src/main/java/gr/thmmy/mthmmy/activities/topic/TopicParser.java
|
@ -15,8 +15,8 @@ android { |
|
|
applicationId "gr.thmmy.mthmmy" |
|
|
applicationId "gr.thmmy.mthmmy" |
|
|
minSdkVersion 19 |
|
|
minSdkVersion 19 |
|
|
targetSdkVersion 29 |
|
|
targetSdkVersion 29 |
|
|
versionCode 24 |
|
|
versionCode 25 |
|
|
versionName "1.8.1" |
|
|
versionName "1.8.2" |
|
|
archivesBaseName = "mTHMMY-v$versionName" |
|
|
archivesBaseName = "mTHMMY-v$versionName" |
|
|
buildConfigField "String", "CURRENT_BRANCH", "\"" + getCurrentBranch() + "\"" |
|
|
buildConfigField "String", "CURRENT_BRANCH", "\"" + getCurrentBranch() + "\"" |
|
|
buildConfigField "String", "COMMIT_HASH", "\"" + getCommitHash() + "\"" |
|
|
buildConfigField "String", "COMMIT_HASH", "\"" + getCommitHash() + "\"" |
|
|
|
@ -259,7 +259,7 @@ public class BoardActivity extends BaseActivity implements BoardAdapter.OnLoadMo |
|
|
|
|
|
|
|
|
// Purification for extreme edge cases
|
|
|
// Purification for extreme edge cases
|
|
|
String pSubjectConcat = subBoardCol.select("a").first().text(); |
|
|
String pSubjectConcat = subBoardCol.select("a").first().text(); |
|
|
pLastPost = pLastPost.replaceAll(pSubjectConcat, ""); |
|
|
pLastPost = pLastPost.replace(pSubjectConcat, ""); |
|
|
|
|
|
|
|
|
String pLastUser; |
|
|
String pLastUser; |
|
|
matcher = pLastPostPattern.matcher(pLastPost); //Don't even try simply grabbing <a>, user might be guest
|
|
|
matcher = pLastPostPattern.matcher(pLastPost); //Don't even try simply grabbing <a>, user might be guest
|
|
|
|
@ -294,7 +294,7 @@ public class TopicParser { |
|
|
Timber.e(e, "Attached file malformed url"); |
|
|
Timber.e(e, "Attached file malformed url"); |
|
|
break; |
|
|
break; |
|
|
} |
|
|
} |
|
|
String attachedFileName = tmpAttachedFileUrlAndName.text().substring(1); |
|
|
String attachedFileName = tmpAttachedFileUrlAndName.wholeText().substring(1); |
|
|
|
|
|
|
|
|
//Gets file's info (size and download count)
|
|
|
//Gets file's info (size and download count)
|
|
|
String postAttachmentsTextSbstr = postAttachmentsText.substring( |
|
|
String postAttachmentsTextSbstr = postAttachmentsText.substring( |
|
@ -366,7 +366,7 @@ public class TopicParser { |
|
|
Timber.e(e, "Attached file malformed url"); |
|
|
Timber.e(e, "Attached file malformed url"); |
|
|
break; |
|
|
break; |
|
|
} |
|
|
} |
|
|
String attachedFileName = tmpAttachedFileUrlAndName.text().substring(1); |
|
|
String attachedFileName = tmpAttachedFileUrlAndName.wholeText().substring(1); |
|
|
|
|
|
|
|
|
//Gets file's info (size and download count)
|
|
|
//Gets file's info (size and download count)
|
|
|
String postAttachmentsTextSbstr = postAttachmentsText.substring( |
|
|
String postAttachmentsTextSbstr = postAttachmentsText.substring( |
|
|