create account

[ESP-ENG] Titulos y enlaces en dataversity || Titles and links in dataversity by pynomiems

View this thread on: hive.blogpeakd.comecency.com
· @pynomiems ·
$4.71
[ESP-ENG] Titulos y enlaces en dataversity || Titles and links in dataversity
<center>
https://i.ibb.co/fX1Jm15/Preview.png<center>Imagen diseñada con <a href="https://www.canva.com/">canva</a> || Image designed with <a href="https://www.canva.com/">canva</a></sub>
</center>

</center>

<div class="text-justify">

<pre>

import httpx
from selectolax.parser import HTMLParser

headers={'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36 Edg/87.0.664.75'}

for idx in range(1,5):
    
    client=httpx.Client(headers=headers)
    dataversity=client.get(f'https://www.dataversity.net/category/blogs/page/{idx}/').text
    dataversity_html=HTMLParser(dataversity)

    for get_hl in dataversity_html.css('header h2.entry-title > a'):
        
        h=get_hl.text(strip=True)
        l=get_hl.attributes['href']
        
        print(f'headlines: {h} links: {l}')

</pre>
    
</div>
    
<center>
    
https://i.ibb.co/fDKrMkm/Result.png

</center>

https://i.ibb.co/54kCFPP/Result-II.png

<center>
    
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
properties (23)
authorpynomiems
permlinkesp-eng-titulos-y-enlaces-en-dataversity-titles-and-links-in-dataversity
categorysites
json_metadata"{"app": "peakd/2022.11.2", "tags": ["sites", "blogs", "collection"]}"
created2023-01-21 09:41:00
last_update2023-01-21 09:41:00
depth0
children0
last_payout2023-01-28 09:41:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value4.710 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,007
author_reputation273,261,352,410,025
root_title"[ESP-ENG] Titulos y enlaces en dataversity || Titles and links in dataversity"
beneficiaries
0.
accountreward.app
weight10,000
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id120,067,449
net_rshares17,895,368,322,369
author_curate_reward""
vote details (36)