create account

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

View this thread on: hive.blogpeakd.comecency.com
· @pynomiems ·
$3.92
[ESP-ENG] Titulos y enlaces en tibco || Titles and links in tibco
<center>

![Preview.png](https://files.peakd.com/file/peakd-hive/pynomiems/AKYNJNE9KgNbragXnx8FSzuaFGuHCytKQQr9oicA3QC3DkdRdMKkjao2wK4dbdu.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>

<div class="text-justify">

<pre>

import asyncio
import aiohttp
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'}

async def parsing_page():
    
    async with aiohttp.ClientSession() as session:

        for index in range(1,6): 
            
            async with session.get(f'https://www.tibco.com/blog/category/news-events/page/{index}/',headers=headers) as page:
                
                tibco=await page.text() 
                tibco_html=HTMLParser(tibco)
                
                 
                for hl in tibco_html.css('div > h3 > a'):

                    h=hl.text(strip=True)
                    l=hl.attributes['href']
    
                    print(f'headlines: {h} links: {l}')

asyncio.run(parsing_page())

</pre>

</div>

<center>

![result.png](https://files.peakd.com/file/peakd-hive/pynomiems/23t72ssa3UVTMh8PVC5M18nasyKHvEkhpHJ1Pa5ikXZ9vsTj9pJDJoWJPkuaP63FCwYAV.png)

![result II.png](https://files.peakd.com/file/peakd-hive/pynomiems/23t7DRaKcveVxhotcVQYtR3nkq7HP82Qgu7KWhEfMqCFZbZ5LagMhDVLGVRAdrJvkLL6D.png)

</center>

---

<center>

## Text translated by <a href="https://www.deepl.com/es/translator">DeepL</a>

</center>
👍  , , ,
properties (23)
authorpynomiems
permlinkesp-eng-titulos-y-enlaces-en-tibco-oror-titles-and-links-in-tibco
categoryhive-148441
json_metadata{"app":"peakd/2022.11.2","format":"markdown","tags":["development","blog"],"users":[],"image":["https://files.peakd.com/file/peakd-hive/pynomiems/AKYNJNE9KgNbragXnx8FSzuaFGuHCytKQQr9oicA3QC3DkdRdMKkjao2wK4dbdu.png","https://files.peakd.com/file/peakd-hive/pynomiems/23t72ssa3UVTMh8PVC5M18nasyKHvEkhpHJ1Pa5ikXZ9vsTj9pJDJoWJPkuaP63FCwYAV.png","https://files.peakd.com/file/peakd-hive/pynomiems/23t7DRaKcveVxhotcVQYtR3nkq7HP82Qgu7KWhEfMqCFZbZ5LagMhDVLGVRAdrJvkLL6D.png"]}
created2022-11-30 21:08:30
last_update2022-11-30 21:08:30
depth0
children1
last_payout2022-12-07 21:08:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value3.922 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,634
author_reputation273,261,352,410,025
root_title"[ESP-ENG] Titulos y enlaces en tibco || Titles and links in tibco"
beneficiaries
0.
accountreward.app
weight10,000
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id118,742,244
net_rshares15,960,723,570,615
author_curate_reward""
vote details (4)
@hivebuzz ·
Congratulations @pynomiems! You have completed the following achievement on the Hive blockchain And have been rewarded with New badge(s)

<table><tr><td><img src="https://images.hive.blog/60x60/http://hivebuzz.me/badges/postallmonth.png"></td><td>You have been a buzzy bee and  published a post every day of the month.</td></tr>
</table>

<sub>_You can view your badges on [your board](https://hivebuzz.me/@pynomiems) and compare yourself to others in the [Ranking](https://hivebuzz.me/ranking)_</sub>
<sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub>



**Check out the last post from @hivebuzz:**
<table><tr><td><a href="/hive-102201/@hivebuzz/wc2022-recap-day11"><img src="https://images.hive.blog/64x128/https://i.imgur.com/uNPMgnd.png"></a></td><td><a href="/hive-102201/@hivebuzz/wc2022-recap-day11">HiveBuzz World Cup Contest - Recap of Day 11</a></td></tr><tr><td><a href="/hive-122221/@hivebuzz/pum-202212"><img src="https://images.hive.blog/64x128/https://i.imgur.com/M9RD8KS.png"></a></td><td><a href="/hive-122221/@hivebuzz/pum-202212">Be ready for the last Hive Power Up Month of the year!</a></td></tr><tr><td><a href="/hive-122221/@hivebuzz/pud-202212"><img src="https://images.hive.blog/64x128/https://i.imgur.com/805FIIt.jpg"></a></td><td><a href="/hive-122221/@hivebuzz/pud-202212">Hive Power Up Day - December 1st 2022</a></td></tr></table>

###### Support the HiveBuzz project. [Vote](https://hivesigner.com/sign/update_proposal_votes?proposal_ids=%5B%22199%22%5D&approve=true) for [our proposal](https://peakd.com/me/proposals/199)!
properties (22)
authorhivebuzz
permlinknotify-pynomiems-20221201t004616
categoryhive-148441
json_metadata{"image":["http://hivebuzz.me/notify.t6.png"]}
created2022-12-01 00:46:15
last_update2022-12-01 00:46:15
depth1
children0
last_payout2022-12-08 00:46:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,607
author_reputation367,971,134,391,214
root_title"[ESP-ENG] Titulos y enlaces en tibco || Titles and links in tibco"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id118,746,874
net_rshares0