Skip to main content
Participating Frequently
Oct 6, 2023 11:02 AM UTC
Question

Does PDF Extract API support hyperlink extraction?

Hi Support Community,
I have a query related to PDF Extract API.

Does it support extraction of hyperlinks from PDF content? If yes can you share sample json output with hyperlink.

    This topic is closed to new replies. Start a new post to keep the conversation going.

    8 replies

    Joel Geraci
    Community Expert
    Community Expert
    Oct 6, 2023 2:06 PM UTC

    Yes. It supports hyperlink extraction. Try the attached file. You'll see the hyperlinks on the right that are represented like this...

    {
        "Bounds": [
            427.7200012207031,
            355.3280029296875,
            524.5761413574219,
            377.3710021972656
        ],
        "Font": {
            "alt_family_name": "Clean",
            "embedded": true,
            "encoding": "Custom",
            "family_name": "Adobe Clean",
            "font_type": "Type1",
            "italic": false,
            "monospaced": false,
            "name": "FHQAMC+AdobeClean-Bold",
            "subset": true,
            "weight": 700
        },
        "HasClip": false,
        "Lang": "en",
        "Page": 0,
        "Path": "//Document/Aside/P[2]/Reference",
        "Text": "(<https://www.adobe.io/apis/documentcloud/dcsdk/>)Adobe Acrobat Services › (<https://www.adobe.io/apis/documentcloud/dcsdk/pdf-extract.html>)Adobe PDF Extract API › ",
        "TextSize": 9,
        "attributes": {
            "LineHeight": 11
        },
        "elementId": 15
    },
    

     

    Translate
    Bhupesh76Author
    Participating Frequently
    Oct 9, 2023 6:54 AM UTC

    Thanks Joel for your response. Yes I can see that hyperlinks are extracted properly in the PDF sample that you shared. However I am not seeing the same behavior with my sample PDF. Can you please check the attached PDF.

    Translate
    Bhupesh76Author
    Participating Frequently
    Oct 16, 2023 5:38 AM UTC

    Hi @Joel Geraci ,
    Any update on above?

    Translate
    Bhupesh76Author
    Participating Frequently
    Oct 6, 2023 1:16 PM UTC

    Update: I tried it in Extract API Demo, it was able to identify the hyperlink as Reference but it did not provide the URL of the hyperlink.
    Refer snapshot below:

    We need to extract hyperlinks also, so can you please clarify on this.

    Translate