From 65ffa96612a31cf523c377c0c3d36eb673839012 Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Fri, 2 Apr 2021 21:41:16 -0400 Subject: add bugs and improve sections --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 068869b..b09bf19 100644 --- a/README.md +++ b/README.md @@ -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 -- cgit