Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -32,6 +32,7 @@ def fetch_img_url() -> str:
|
|
32 |
|
33 |
# Extract photo URL
|
34 |
photo_url = extract_url(response, "https://m.facebook.com/photo.php?fbid=", '"').replace("&", "&")
|
|
|
35 |
|
36 |
# Fetch photo page and extract image URL
|
37 |
photo_response = session.get(photo_url, cookies=COOKIES, timeout=(100, 100)).text
|
|
|
32 |
|
33 |
# Extract photo URL
|
34 |
photo_url = extract_url(response, "https://m.facebook.com/photo.php?fbid=", '"').replace("&", "&")
|
35 |
+
print("Photo Url:", photo_url)
|
36 |
|
37 |
# Fetch photo page and extract image URL
|
38 |
photo_response = session.get(photo_url, cookies=COOKIES, timeout=(100, 100)).text
|