mirror of
https://github.com/akaessens/NoFbEventScraper
synced 2025-06-05 23:29:13 +02:00
add error message as description
This commit is contained in:
@ -178,6 +178,7 @@ public class FbEventScraper extends AsyncTask<Void, Void, Void> {
|
||||
|
||||
} catch (JSONException | NullPointerException e) {
|
||||
name = document.title();
|
||||
description = scraper.main.get().getString(R.string.error_scraping);
|
||||
try {
|
||||
image_url = document.select("div[id*=event_header]")
|
||||
.select("img").first().attr("src");
|
||||
|
Reference in New Issue
Block a user