comatory / fb2iCal

Convert Facebook events to iCal files
11 stars 1 forks source link

No event information in download.ics #42

Open apogorzelska opened 10 months ago

apogorzelska commented 10 months ago

Service at https://fb2ical-3051b.web.app/ returns following for event https://www.facebook.com/events/351382967310859, which doesn't contain actual event information:

BEGIN:VCALENDAR
VERSION:2.0
CALSCALE:GREGORIAN
PRODID:adamgibbons/ics
METHOD:PUBLISH
X-PUBLISHED-TTL:PT1H
BEGIN:VEVENT
UID:f1027b76-9b78-41b3-8604-7c5e73b7d153
SUMMARY:Facebook
DTSTAMP:20231104T151601Z
DTSTART:20231104T151900Z
URL:https://www.facebook.com/
DURATION:PT120M
END:VEVENT
END:VCALENDAR
comatory commented 10 months ago

Thank you for reporting it. I will look into it why that happens.

comatory commented 10 months ago

@apogorzelska I tried converting your event. The code in the application is kind of old and it relies on HTML structure (either presence of ld+json tag or DOM) which seems like it's not compatible anymore. I will see if I can fix it, nowadays it'd make more sense to use some ML-based parsing instead.