Java Goose not extracting content on Android -
I am trying to set up a small Android application that removes content from the web page using the Swan library. Since the library is written in Scala, so I am using .jar I found. The problem is, when I try to remove content from a page, it does not give anything. I can successfully create a article
object using a URL, but values of the object (title, domain, top image, etc.) are all null
I try to use different URLs That, to see if the problem was separated on one website, but it does not seem like this.
I use the And then I can only make it like the Any advice? Goose
gooseDir = context.getCacheDir (); Configuration config = new configuration (); Config.setLocalStoragePath (gooseDir.getAbsolutePath ()); Swan Hans = New Swan (ConfiG);
article
example:
article article = swan.extractContent (url) ;
Actually you can not use it because of the inconveniences of the swan library on Android, but you can not use my Android version You can use:
It's almost the same thing, Swan works only on Android.
Comments
Post a Comment