[~] Refactor

This commit is contained in:
Siarhei Siniak 2021-07-15 08:09:18 +03:00
parent f4c5537eb1
commit 1bc7838511

@ -12,10 +12,12 @@ def kernel_1_sample_scrap():
t3 = t2('.comment__content')
t6 = []
for o in t3:
t4 = pyquery.PyQUery(o)
t4 = pyquery.PyQuery(o)
t5 = t4('.comment__header > a').attr['href']
t6.append(
author=t5,
dict(
author=t5,
)
)
pprint.pprint(t3)