Skip to content

Commit 9bd6723

Browse files
committed
added some changes
1 parent 8abefc5 commit 9bd6723

4 files changed

Lines changed: 97 additions & 101 deletions

File tree

OGParser/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
plugins {
22
id 'com.android.library'
33
id 'kotlin-android'
4+
id 'maven-publish'
45
}
56

67
android {

OGParser/src/main/java/com/kedia/ogparser/JsoupNetworkCall.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,6 @@ class JsoupNetworkCall {
6868
.first().attr("content") else ""
6969
if (openGraphResult!!.url.isNullOrEmpty())
7070
openGraphResult!!.url = getBaseUrl(url)
71-
72-
73-
7471
} catch (e: Exception) {
7572
e.printStackTrace()
7673
return null

app/src/main/java/com/kedia/opengraphpreview/MainActivity.kt

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,17 @@ class MainActivity : AppCompatActivity(), OpenGraphCallback {
1313
private val openGraphParser by lazy { OpenGraphParser(this, showNullOnEmpty = true, context = this) }
1414

1515
private val LINKS_TO_TEST = mutableListOf(
16-
// "https://www.linkedin.com/posts/madhusmita-padhy_machinelearning-datascience-activity-6886390508722163712-yhQ0",
17-
// "https://www.youtube.com/watch?v=n3zsoX7bRlc",
18-
// "https://twitter.com/levelsio/status/1481942293108359168",
19-
// "https://stackoverflow.com/questions/44515769/conda-is-not-recognized-as-internal-or-external-command",
20-
// "https://github.com/Priyansh-Kedia/OpenGraphParser",
21-
// "https://chat.whatsapp.com/DdWAKRkt2VfAmd4OS47y7P",
22-
// "https://www.reddit.com/r/MachineLearning/comments/s3mjqf/deep_learning_interviews_hundreds_of_fully_solved/?utm_medium=android_app&utm_source=share",
23-
// "https://instagram.com/fcbarcelona?utm_medium=copy_link",
24-
// "https://www.facebook.com/groups/777946865955982/permalink/1385110621906267/",
25-
// "https://www.youtube.com/",
26-
// "https://www.instagram.com/",
16+
"https://www.linkedin.com/posts/madhusmita-padhy_machinelearning-datascience-activity-6886390508722163712-yhQ0",
17+
"https://www.youtube.com/watch?v=n3zsoX7bRlc",
18+
"https://twitter.com/levelsio/status/1481942293108359168",
19+
"https://stackoverflow.com/questions/44515769/conda-is-not-recognized-as-internal-or-external-command",
20+
"https://github.com/Priyansh-Kedia/OpenGraphParser",
21+
"https://chat.whatsapp.com/DdWAKRkt2VfAmd4OS47y7P",
22+
"https://www.reddit.com/r/MachineLearning/comments/s3mjqf/deep_learning_interviews_hundreds_of_fully_solved/?utm_medium=android_app&utm_source=share",
23+
"https://instagram.com/fcbarcelona?utm_medium=copy_link",
24+
"https://www.facebook.com/groups/777946865955982/permalink/1385110621906267/",
25+
"https://www.youtube.com/",
26+
"https://www.instagram.com/",
2727
"https://klusterapp.io/kluster/message?message_id=7244&channel_id=2247&Channel_name=new-channel-with-spa&kluster_id=64"
2828
)
2929

gradlew

Lines changed: 85 additions & 87 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)