Firstly, Webcopy is fantastic! Only tool I could find that downloads my entire, very large, site from Webflow. All other tools I tried only copied parts, or not at all.
Here's my challenge. Lottie files (JSON extension) are not being downloaded. Below is an example that includes two files that are still pointing online.
I've enabled 'download all resources', and also 'use web browser', to no affect. Please help
Example:
<div id="w-node-_9671e4b5-3bad-e07e-3434-93312ad72477-ffcdf860" class="titles centered">
<div
data-w-id="9671e4b5-3bad-e07e-3434-93312ad7247a"
data-animation-type="lottie"
data-src="https://assets.website-files.com/619bbfa4027159287dec56cb/619bbfa4027159558dec5acc_data.json"
data-loop="0"
data-direction="1"
data-autoplay="1"
data-is-ix2-target="0"
data-renderer="svg"
data-default-duration="4"
data-duration="0"
class="lottie-animation"
></div>
<div
data-w-id="9671e4b5-3bad-e07e-3434-93312ad7247c"
data-animation-type="lottie"
data-src="https://assets.website-files.com/619bbfa4027159287dec56cb/619bbfa40271597fe5ec5a9c_cover-subtitle-3.json"
data-loop="1"
data-direction="1"
data-autoplay="1"
data-is-ix2-target="0"
data-renderer="svg"
data-default-duration="24"
data-duration="0"
class="lottie-animation-2"
></div>
</div>
Hello,
Thanks for the question, and taking the time to include the HTML snippets that let me answer the question.
The reason they aren't being downloaded because the data-src attribute on those div tags aren't standard, so it isn't in the list of expressions WebCopy looks for by default.
However, you can use Custom Attributes (https://docs.cyotek.com/cyowcopy/current/customattributes.html) to specify your own expressions with a little XPath. Try adding an expression of //div/@data-src to your project.
Hope this helps!
Regards;
Richard Moss