Ezerous
5 years ago
No known key found for this signature in database
GPG Key ID: 262B2954BBA319E3
3 changed files with
4 additions and
4 deletions
-
app/build.gradle
-
app/src/main/assets/mit_libraries.html
-
app/src/main/java/gr/thmmy/mthmmy/activities/topic/tasks/TopicTask.java
|
|
@ -89,7 +89,7 @@ dependencies { |
|
|
|
implementation 'com.crashlytics.sdk.android:crashlytics:2.10.1' |
|
|
|
implementation 'com.snatik:storage:2.1.0' |
|
|
|
implementation 'com.squareup.okhttp3:okhttp:3.12.12' //TODO: Warning: okhttp has dropped support for Android v.19 since okhttp 3.13! |
|
|
|
implementation 'org.jsoup:jsoup:1.10.3' //TODO: Warning: upgrading from 1.10.3 will break stuff! |
|
|
|
implementation 'org.jsoup:jsoup:1.13.1' |
|
|
|
implementation 'joda-time:joda-time:2.10.4' |
|
|
|
implementation 'com.github.franmontiel:PersistentCookieJar:1.0.1' |
|
|
|
implementation 'com.github.PhilJay:MPAndroidChart:3.0.3' |
|
|
|
|
|
@ -6,7 +6,7 @@ |
|
|
|
<body> |
|
|
|
<ul> |
|
|
|
<li> |
|
|
|
<h5><a href="https://jsoup.org">jsoup</a> v1.10.3 (Copyright ©2009-2017, Jonathan Hedley <jonathan@hedley.net>)</h5> |
|
|
|
<h5><a href="https://jsoup.org">jsoup</a> v1.13.1 (Copyright ©2009-2020, Jonathan Hedley <jonathan@hedley.net>)</h5> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<h5><a href="https://github.com/koral--/android-gif-drawable">android-gif-drawable</a> v1.2.19 (Copyright ©2013 -2020 Karol Wrótniak, Droids on Roids)</h5> |
|
|
|
|
|
@ -92,10 +92,10 @@ public class TopicTask extends AsyncTask<String, Void, TopicTaskResult> { |
|
|
|
String topicTitle = topic.select("td[id=top_subject]").first().text(); |
|
|
|
if (topicTitle.contains("Topic:")) |
|
|
|
topicTitle = topicTitle.substring(topicTitle.indexOf("Topic:") + 7 |
|
|
|
, topicTitle.indexOf("(Read") - 2); |
|
|
|
, topicTitle.indexOf("(Read") - 1); |
|
|
|
else |
|
|
|
topicTitle = topicTitle.substring(topicTitle.indexOf("Θέμα:") + 6 |
|
|
|
, topicTitle.indexOf("(Αναγνώστηκε") - 2); |
|
|
|
, topicTitle.indexOf("(Αναγνώστηκε") - 1); |
|
|
|
|
|
|
|
//Finds current page's index
|
|
|
|
int currentPageIndex = TopicParser.parseCurrentPageIndex(topic, language); |
|
|
|