Marthee commited on
Commit
4b10472
·
verified ·
1 Parent(s): dc112c0

Update findspecsv1.py

Browse files
Files changed (1) hide show
  1. findspecsv1.py +2 -1
findspecsv1.py CHANGED
@@ -538,7 +538,8 @@ def extract_section_under_header(pdf_path, target_header_LIST):
538
  encoded_link = '&'.join([f"{key}={value}" for key, value in encoded_params.items()])
539
 
540
  # Correctly construct the final URL with page and zoom
541
- final_url = f"{baselink}{encoded_link}#page={str(pageNumberFound)}&zoom={str(zoom_str)}"
 
542
 
543
  # Get current date and time
544
  now = datetime.now()
 
538
  encoded_link = '&'.join([f"{key}={value}" for key, value in encoded_params.items()])
539
 
540
  # Correctly construct the final URL with page and zoom
541
+ zoom_str = f"{zoom},{left},{top}"
542
+ final_url = f"{baselink}{encoded_link}#page={str(pageNumberFound)}&zoom={zoom_str}"
543
 
544
  # Get current date and time
545
  now = datetime.now()