You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to replace assets hosted online to the ones downloaded offline so it can be used without internet. In the url above, it has a asset which has src attribute value set to //cdn.jsdelivr.net/emojione/assets/png/1f4af.png". I was going to use getReference action but I realized later on that this was already doing what I want to do with the exception of image urls
Expected behavior: Make //cdn.jsdelivr.net/emojione/assets/png/1f4af.png or any remote image urls reference or replaces with downloaded one
Actual behavior: The image url was not replaced with locally downloaded assets
The text was updated successfully, but these errors were encountered:
I executed the code but for me it works fine, I have <img alt="100" src="images/1f4af.png"> in the result html.
Did you try to check the logs to see what happens with this resource?
Upon looking at the actual html file. It is indeed working, assets are already replaced. Issue is with react spa loading the content from js file instead of the content of the html.
Configuration
version: website-scraper@5.0.0
options:
Description
I want to replace assets hosted online to the ones downloaded offline so it can be used without internet. In the url above, it has a asset which has src attribute value set to
//cdn.jsdelivr.net/emojione/assets/png/1f4af.png"
. I was going to usegetReference
action but I realized later on that this was already doing what I want to do with the exception of image urlsExpected behavior: Make
//cdn.jsdelivr.net/emojione/assets/png/1f4af.png
or any remote image urls reference or replaces with downloaded oneActual behavior: The image url was not replaced with locally downloaded assets
The text was updated successfully, but these errors were encountered: