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