arktronic / ecto1

Ghost blog downloader/scraper/static-site-maker
ISC License
6 stars 1 forks source link

Missing fonts warning when generating local static site of ghost blog #2

Open diliprk opened 1 year ago

diliprk commented 1 year ago

Hi Sasha, I was able to successfully generate the static site of my ghost blog here - https://github.com/QubitQuants/qubitquants.github.io

But I encounter some font missing warnings, using dawn ghost theme, how do I deal with this:

(base) dilip.rajkumar@diliprajkumar-MacBook-Pro Documents % cd QQblog
(base) dilip.rajkumar@diliprajkumar-MacBook-Pro QQblog % python3 ecto1.py
ecto1.py
Private mode: OFF
Pre-auth: OFF
http://localhost:2368/sitemap.xml
/opt/miniconda3/lib/python3.9/site-packages/bs4/builder/__init__.py:545: XMLParsedAsHTMLWarning: It looks like you're parsing an XML document using an HTML parser. If this really is an HTML document (maybe it's XHTML?), you can ignore or filter this warning. If it's XML, you should know that using an XML parser will be more reliable. To parse this document as XML, make sure you have the lxml package installed, and pass the keyword argument `features="xml"` into the BeautifulSoup constructor.
  warnings.warn(
http://localhost:2368/sitemap-pages.xml
http://localhost:2368/
http://localhost:2368/about/
http://localhost:2368/#/portal/signup
http://localhost:2368/metatrader-5/
http://localhost:2368/coming-soon/
http://localhost:2368/tag/news/
http://localhost:2368/#/portal/
http://localhost:2368/assets/built/screen.css?v=c3f43a7e81
http://localhost:2368/images/default-skin.png
WARNING: unable to download "http://localhost:2368/images/default-skin.png": HTTP Error 404: Not Found
http://localhost:2368/images/default-skin.svg
WARNING: unable to download "http://localhost:2368/images/default-skin.svg": HTTP Error 404: Not Found
http://localhost:2368/images/preloader.gif
WARNING: unable to download "http://localhost:2368/images/preloader.gif": HTTP Error 404: Not Found
http://localhost:2368/fonts/mulish-v10-latin-regular.woff2
WARNING: unable to download "http://localhost:2368/fonts/mulish-v10-latin-regular.woff2": HTTP Error 404: Not Found
http://localhost:2368/fonts/mulish-v10-latin-regular.woff
WARNING: unable to download "http://localhost:2368/fonts/mulish-v10-latin-regular.woff": HTTP Error 404: Not Found
http://localhost:2368/fonts/mulish-v10-latin-700.woff2
WARNING: unable to download "http://localhost:2368/fonts/mulish-v10-latin-700.woff2": HTTP Error 404: Not Found
http://localhost:2368/fonts/mulish-v10-latin-700.woff
WARNING: unable to download "http://localhost:2368/fonts/mulish-v10-latin-700.woff": HTTP Error 404: Not Found
http://localhost:2368/fonts/mulish-v10-latin-800.woff2
WARNING: unable to download "http://localhost:2368/fonts/mulish-v10-latin-800.woff2": HTTP Error 404: Not Found
http://localhost:2368/fonts/mulish-v10-latin-800.woff
WARNING: unable to download "http://localhost:2368/fonts/mulish-v10-latin-800.woff": HTTP Error 404: Not Found
http://localhost:2368/fonts/mulish-v10-latin-italic.woff2
WARNING: unable to download "http://localhost:2368/fonts/mulish-v10-latin-italic.woff2": HTTP Error 404: Not Found
http://localhost:2368/fonts/mulish-v10-latin-italic.woff
WARNING: unable to download "http://localhost:2368/fonts/mulish-v10-latin-italic.woff": HTTP Error 404: Not Found
http://localhost:2368/fonts/mulish-v10-latin-700italic.woff2
WARNING: unable to download "http://localhost:2368/fonts/mulish-v10-latin-700italic.woff2": HTTP Error 404: Not Found
http://localhost:2368/fonts/mulish-v10-latin-700italic.woff
WARNING: unable to download "http://localhost:2368/fonts/mulish-v10-latin-700italic.woff": HTTP Error 404: Not Found
http://localhost:2368/fonts/lora-v23-latin-regular.woff2
WARNING: unable to download "http://localhost:2368/fonts/lora-v23-latin-regular.woff2": HTTP Error 404: Not Found
http://localhost:2368/fonts/lora-v23-latin-regular.woff
WARNING: unable to download "http://localhost:2368/fonts/lora-v23-latin-regular.woff": HTTP Error 404: Not Found
http://localhost:2368/fonts/lora-v23-latin-700.woff2
WARNING: unable to download "http://localhost:2368/fonts/lora-v23-latin-700.woff2": HTTP Error 404: Not Found
http://localhost:2368/fonts/lora-v23-latin-700.woff
WARNING: unable to download "http://localhost:2368/fonts/lora-v23-latin-700.woff": HTTP Error 404: Not Found
http://localhost:2368/fonts/lora-v23-latin-italic.woff2
WARNING: unable to download "http://localhost:2368/fonts/lora-v23-latin-italic.woff2": HTTP Error 404: Not Found
http://localhost:2368/fonts/lora-v23-latin-italic.woff
WARNING: unable to download "http://localhost:2368/fonts/lora-v23-latin-italic.woff": HTTP Error 404: Not Found
http://localhost:2368/fonts/lora-v23-latin-700italic.woff2
WARNING: unable to download "http://localhost:2368/fonts/lora-v23-latin-700italic.woff2": HTTP Error 404: Not Found
http://localhost:2368/fonts/lora-v23-latin-700italic.woff
WARNING: unable to download "http://localhost:2368/fonts/lora-v23-latin-700italic.woff": HTTP Error 404: Not Found
http://localhost:2368/rss/
http://localhost:2368/public/cards.min.css?v=c3f43a7e81
http://localhost:2368/public/cards.min.js?v=c3f43a7e81
http://localhost:2368/public/member-attribution.min.js?v=c3f43a7e81
http://localhost:2368/assets/built/main.min.js?v=c3f43a7e81
http://localhost:2368/author/qubit/
http://localhost:2368/content/images/size/w150/2022/11/ProfilePic.jpg
http://localhost:2368/content/images/size/w960/2022/11/MT5-Bot.png
http://localhost:2368/content/images/size/w400/2022/11/MT5-Bot.png
http://localhost:2368/content/images/size/w750/2022/11/MT5-Bot.png
http://localhost:2368/content/images/size/w1140/2022/11/MT5-Bot.png
http://localhost:2368/about-us/
http://localhost:2368/sitemap-posts.xml
http://localhost:2368/sitemap-authors.xml
http://localhost:2368/sitemap-tags.xml
http://localhost:2368/robots.txt
http://localhost:2368/favicon.ico
Done. Contents have been downloaded into: /Users/dilip.rajkumar/Documents/QQblog/public
arktronic commented 1 year ago

Do those fonts really exist in your Ghost instance? If not, then your theme might be misconfigured (especially if you see similar warnings in your browser console when accessing Ghost), or ecto1 might be finding URLs that don't really exist, in which case those warnings should be safe to ignore.