add proxy on the othe rrequest as well
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 6m9s

This commit is contained in:
Pierre Geeraert
2025-12-04 11:34:32 +00:00
parent 924d3dabb9
commit 859ab9cfaf
2 changed files with 5 additions and 8 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ def album_downloader(name,url,external_galleries):
for album in webpage_all_album_url:
print("Album "+album)
print("")
page = requests.get(album)
page = requests.get(album,proxies=proxies)
webpage = html.fromstring(page.content)
images_list = webpage.xpath("//a[contains(@href,'cdni.pornpics.com/1280/')]/@href")
@@ -10915,7 +10915,6 @@
<div class="col mb-5">
<div class="card h-100">
<!-- Sale badge-->
<div class="badge bg-dark text-white position-absolute" style="top: 0.5rem; right: 0.5rem">Sale</div>
<!-- Product image-->
<img class="card-img-top" src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTUHI8m7S7bMhMC2WldjOFV4e9pjeK0m9asEw&s" alt="..." />
<!-- Product details-->
@@ -10963,17 +10962,15 @@
<div class="col mb-5">
<div class="card h-100">
<!-- Sale badge-->
<div class="badge bg-dark text-white position-absolute" style="top: 0.5rem; right: 0.5rem">Sale</div>
<!-- Product image-->
<img class="card-img-top" src="https://dummyimage.com/450x300/dee2e6/6c757d.jpg" alt="..." />
<img class="card-img-top" src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRlAP1QLW33zVG3dF-EmGalwc7L0uMUJEzRBA&s" alt="..." />
<!-- Product details-->
<div class="card-body p-4">
<div class="text-center">
<!-- Product name-->
<h5 class="fw-bolder">Sale Item</h5>
<h5 class="fw-bolder">Reddit</h5>
<!-- Product price-->
<span class="text-muted text-decoration-line-through">$50.00</span>
$25.00
https://www.reddit.com/
</div>
</div>
<!-- Product actions-->
@@ -10990,7 +10987,7 @@
<div class="card-body p-4">
<div class="text-center">
<!-- Product name-->
<h5 class="fw-bolder">Fancy Product</h5>
<h5 class="fw-bolder">Regifs</h5>
<!-- Product price-->
$120.00 - $280.00
</div>