From d108e75b76948468ecd94cae4ed1b24b985f2674 Mon Sep 17 00:00:00 2001 From: Siarhei Siniak Date: Thu, 15 Jul 2021 07:59:54 +0300 Subject: [PATCH] [~] Refactor --- python/tasks/jigsaw_toxic.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python/tasks/jigsaw_toxic.py b/python/tasks/jigsaw_toxic.py index bba94fb..1f58412 100644 --- a/python/tasks/jigsaw_toxic.py +++ b/python/tasks/jigsaw_toxic.py @@ -7,4 +7,6 @@ def kernel_1_sample_scrap(): 'https://dev.to/kunaal438/media-query-everything-you-need-for-responsive-design-b8g', ) as p: t1 = p.content.decode('utf-8') - pprint.pprint(t1) + t2 = pyquery.PyQuery(t1) + t3 = t2('.comment_content') + pprint.pprint(t3)