diff options
-rw-r--r-- | README.md | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -38,6 +38,25 @@ These are available as system packages in Fedora and Devuan. * python3-beautifulsoup4 (aka python3-bs4) * python3-tinycss2 +## Bugs + +* Wordpress's weirdness +Wordpress's css lets me manually inspect it but not use the whole script to indicate a single URL, and then list all CSS possible. +Visited in browser, logged in. Used developer tools, tab "Network", enabled CSS and Fonts. Found in the list, dashicons.min.css. +On python prompt: + + >>> savewebfonts_lib.get_webfonts_for_one_css("https://s2.wp.com/wp-includes/css/dashicons.min.css?m=1617198107h&ver=5.7.1-alpha-50603&wp-mce-49110-20201110") + +Found that a .ttf is listed. So manually wgeted that file, and saved it to ~/.local/share/fonts. + + wget --output=~/.local/share/fonts/dashicons.ttf 'https://s2.wp.com/wp-includes/fonts/dashicons.ttf?99ac726223c749443b642ce33df8b800' + + +* Some webfonts are only as data stored inline in the css directly, or svg only. + +## Improve +Write a function that parses a HAR file! + ## References None |