diff options
author | B. Stack <bgstack15@gmail.com> | 2021-04-02 21:41:16 -0400 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2021-04-02 21:43:17 -0400 |
commit | 65ffa96612a31cf523c377c0c3d36eb673839012 (patch) | |
tree | 679f9b08dadce8fecfc2f05f4ce395489c129d44 /README.md | |
parent | initial commit (diff) | |
download | save-webfonts-65ffa96612a31cf523c377c0c3d36eb673839012.tar.gz save-webfonts-65ffa96612a31cf523c377c0c3d36eb673839012.tar.bz2 save-webfonts-65ffa96612a31cf523c377c0c3d36eb673839012.zip |
add bugs and improve sections
Diffstat (limited to 'README.md')
-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 |