1
0
mirror of https://github.com/akaessens/NoFbEventScraper synced 2025-06-05 23:29:13 +02:00

update jsoup

This commit is contained in:
akaessens
2020-08-15 15:31:05 +02:00
parent 40a2c7d18f
commit 9ab18b496f
2 changed files with 2 additions and 2 deletions

View File

@ -98,7 +98,7 @@ public class FbScraper extends AsyncTask<Void, Void, Void> {
Document document = null;
try {
document = Jsoup.connect(url).get();
document = Jsoup.connect(url).userAgent("Mozilla").get();
try {
String json = document.select("script[type = application/ld+json]").first().data();