<center>
![Preview.png](https://files.peakd.com/file/peakd-hive/pynomiems/AKs3L81wLdMA3uk69p35ZY8xbZNqjN3FpdGwa7FWPYbDA5BBug8Ly5Lt5TFZf23.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 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/68.0.3440.84 Safari/537.36',
'accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
}
for idx in range(2,5):
client=httpx.Client()
elegantjbi=client.get(f'https://www.elegantjbi.com/blog/page/2/',headers=headers,follow_redirects=True).text
elegantjbi_html=HTMLParser(elegantjbi)
for find_hl in elegantjbi_html.css('div > header > a'):
h=find_hl.text()
l=find_hl.attributes['href']
print(f'Headlines: {h} Links:{l}')
</pre>
</div>
<center>
![result.png](https://files.peakd.com/file/peakd-hive/pynomiems/23t72kFazpefnvcr7ZvxfSggrFn998y4AgXyNFKcZawxwtDr9XShv7gJMa3RL7yZzBXg3.png)
![result II.png](https://files.peakd.com/file/peakd-hive/pynomiems/23t7DYuFRHHijeSfXF8sBWtV2JeMNN8h4brcuev2RvmCkHbjHU5KrtwdnQUiPjH4o3CML.png)
</center>
---
<center>
## Text translated by <a href="https://www.deepl.com/es/translator">DeepL</a>
</center>