mirror of
https://github.com/akaessens/NoFbEventScraper
synced 2025-06-05 23:29:13 +02:00
get high-res preview also from videos
This commit is contained in:
@ -215,8 +215,8 @@ public class FbScraper extends AsyncTask<Void, Void, Void> {
|
||||
|
||||
try {
|
||||
// possibly get higher res image from event header
|
||||
image_url = document.select("img[class*=scaledImageFit]")
|
||||
.first().attr("src");
|
||||
image_url = document.select("div[id=event_header_primary]")
|
||||
.select("img").first().attr("src");
|
||||
|
||||
} catch (Exception e) {
|
||||
// ignore
|
||||
|
Reference in New Issue
Block a user