حديقة يُوسُف الرقمية | yshalsager's Digital Garden

Home

❯

yshalsager's Digital Garden

❯

Notes

❯

How to extract all links from pdf file?

How to extract all links from pdf file?

Jan 24, 2023

  • ملاحظة_مؤرشفة
  • regex

المعرفة:: Regex
الحالة:: ملاحظة_مؤرشفة
المراجع:: https://stackoverflow.com/questions/31436357/how-to-extract-all-links-from-pdf-file


strings "somePDFfile.pdf" | grep http  

This works even better if you use pdftk to uncompress it first (credits: Ben Stern):

pdftk in.pdf cat output out.pdf uncompress; strings out.pdf | grep -i http  

Graph View

Recent Notes

  • حديقة يُوسُف الرقمية

    Jul 16, 2026

    • ملاحظات حديقة يُوسُف الرقمية

      Jul 16, 2026

      • yshalsager's Digital Garden

        Jul 16, 2026

        Created with Quartz v5.0.0 © 2026

        • Website
        • GitHub