Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
@@ -282,9 +282,10 @@ public class StockService {
|
|||||||
.header("Referer", "https://www.business-standard.com/")
|
.header("Referer", "https://www.business-standard.com/")
|
||||||
.header("Accept-Language", "en-US,en;q=0.9")
|
.header("Accept-Language", "en-US,en;q=0.9")
|
||||||
.get();
|
.get();
|
||||||
result = doc.html().substring(doc.html().indexOf("articleBody") + 13, doc.html().indexOf(",\"author\":") - 1);
|
//result = doc.html().substring(doc.html().indexOf("articleBody") + 13, doc.html().indexOf(",\"author\":") - 1);
|
||||||
list.add(result);
|
list.add(doc.html());
|
||||||
list.add(doc.html().substring(doc.html().indexOf("twitter:description") + 30, doc.html().indexOf("<meta property=\"article:published_time") - 5));
|
//list.add(result);
|
||||||
|
//list.add(doc.html().substring(doc.html().indexOf("twitter:description") + 30, doc.html().indexOf("<meta property=\"article:published_time") - 5));
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
list.add(e.toString());
|
list.add(e.toString());
|
||||||
return list;
|
return list;
|
||||||
|
|||||||
Reference in New Issue
Block a user