Spaces:
Runtime error
Runtime error
Update Find_Hyperlinking_text.py
Browse files
Find_Hyperlinking_text.py
CHANGED
|
@@ -278,7 +278,7 @@ def annotate_text_from_pdf(pdfshareablelinks, LISTheading_to_search):
|
|
| 278 |
encoded_link = '&'.join([f"{key}={value}" for key, value in encoded_params.items()])
|
| 279 |
|
| 280 |
# Correctly construct the final URL with page and zoom
|
| 281 |
-
final_url = f"{baselink}{encoded_link}
|
| 282 |
|
| 283 |
# Optionally, add the URL to a DataFrame
|
| 284 |
if len(groupmainheadingFromArray) > 0:
|
|
|
|
| 278 |
encoded_link = '&'.join([f"{key}={value}" for key, value in encoded_params.items()])
|
| 279 |
|
| 280 |
# Correctly construct the final URL with page and zoom
|
| 281 |
+
final_url = f"{baselink}{encoded_link}#page={str(pageNumberFound)}&zoom={zoom_str}"
|
| 282 |
|
| 283 |
# Optionally, add the URL to a DataFrame
|
| 284 |
if len(groupmainheadingFromArray) > 0:
|