zimit
zimit copied to clipboard
Certain widgets not coming through in ZIM file
Hi!
I'm trying to make a ZIM file of www.animatedknots.com. The process runs quickly, and the resultant ZIM has everything you'd expect EXCEPT the dynamic animated content. It seems the process doesn't capture the script that runs the animation widget, and the animation appears as a single still frame.
I'm wondering if there is an argument I should look at to capture this content, or if this is just a ZIMIT limitation?
Any help is appreciated. Thanks!
Can you be more specific about what dynamic animated content is?
Are you referring to pictures which are dynamically loaded on for instance https://www.animatedknots.com/overhand-knot?
Yes, exactly. This is what I get in my console as it loads, but whatever script is sending these GET commands doesn't come through in the ZIM:
Would you mind to share a link to the ZIM you've build ? Would need to investigate what is inside / missing.
Sure! Here's a link:
https://www.dropbox.com/scl/fo/elg20ldw5594fqykn71ay/ADGbxbMKvH7tNBS6CxND8SA?rlkey=fw4ec66w7sxdlfpubq6xyoa7x&dl=0
I ran Zimit twice. The second time I added a 2s delay before running behaviors to see if it would give the animated content a chance to load. The first is ~418mb, and the second came to ~150mb. Not sure why there is such a difference in file size.
Thank you ! This looks like this is a pretty unstable behavior. This would need to debug to get to details. Not sure I will have time for this anywhere soon, we will do our best.
No prob, and thanks for looking into it! FYI– this was deployed using Docker Compose. Is it helpful to have the compose file as well?
Probably not, this looks like a scraper problem not linked to your environment.