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 {
|
||||
// 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
|
||||
|
|
Loading…
Reference in New Issue