From: Muhammad Rizki <[email protected]>
To: Ammar Faizi <[email protected]>
Cc: Muhammad Rizki <[email protected]>,
GNU/Weeb Mailing List <[email protected]>,
Alviro Iskandar Setiawan <[email protected]>
Subject: [PATCH v1 0/2] Improve some utility codes
Date: Wed, 3 Aug 2022 17:27:16 +0700 [thread overview]
Message-ID: <[email protected]> (raw)
Afternoon guys,
In this series, I'm improving some utility codes in scraper/utils.py,
like multiple dash `-` just like "-"*72, I think it's more practice than
before. I fix a bug too while receiving email payload like `<text>`,
`®`, and more using double html.escape().
There are 2 patches in this series:
- Patch 1 is to improve bottom border string template.
- Patch 2 is to use double html.escape() for fix_utf8_chars()
This should be works fine and tested too, thanks.
Muhammad Rizki (2):
Improve code for bottom border
Use html.escape() for fix_utf8_chars()
daemon/scraper/utils.py | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
base-commit: f42828bf0aa6fe23f1f5257c4a2483cb8798e89a
--
Muhammad Rizki
next reply other threads:[~2022-08-03 10:27 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-03 10:27 Muhammad Rizki [this message]
2022-08-03 10:27 ` [PATCH v1 1/2] Improve code for bottom border Muhammad Rizki
2022-08-03 10:27 ` [PATCH v1 2/2] Use html.escape() for fix_utf8_chars() Muhammad Rizki
2022-08-03 12:49 ` Ammar Faizi
2022-08-03 12:53 ` Ammar Faizi
2022-08-03 13:01 ` Muhammad Rizki
2022-08-03 12:51 ` (subset) [PATCH v1 0/2] Improve some utility codes Ammar Faizi
2022-08-03 13:07 ` Ammar Faizi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox