mirror of
https://github.com/akaessens/NoFbEventScraper
synced 2025-06-05 23:29:13 +02:00
update jsoup
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user