Marthee commited on
Commit
dc112c0
·
verified ·
1 Parent(s): 52e4466

Update findspecsv1.py

Browse files
Files changed (1) hide show
  1. findspecsv1.py +2 -1
findspecsv1.py CHANGED
@@ -538,7 +538,7 @@ 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={zoom_str}"
542
 
543
  # Get current date and time
544
  now = datetime.now()
@@ -595,6 +595,7 @@ def extract_section_under_header(pdf_path, target_header_LIST):
595
  pdf_bytes = BytesIO()
596
  doc.save(pdf_bytes)
597
  print('JSONN',json_output)
 
598
  return pdf_bytes.getvalue(), doc , df, json_output
599
 
600
 
 
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()
 
595
  pdf_bytes = BytesIO()
596
  doc.save(pdf_bytes)
597
  print('JSONN',json_output)
598
+
599
  return pdf_bytes.getvalue(), doc , df, json_output
600
 
601