Skip to content

[Bug] Title might be set incorrectly #1548

Open
@borowis

Description

@borowis

Describe the Bug
Page title returned from /crawl, /scrape is set incorrectly in some cases.

To Reproduce
Steps to reproduce the issue:

  1. Do a /scrape on https://voluitsuite.nl/post/voluit-suite-updates-5-juni-2024
  2. See JSON title of the scraped page is empty
  3. Open HTML of the source page and see title tag is not empty

Expected Behavior
I would expect both /scrape and /crawl return a title of the page when title tag is present

Environment (please complete the following information):

Additional Context
I think the problem here is that the source HTML page has both title and meta name="title" tags:

<title>voluit suite updates 5 juni 2024</title>
<meta name="title" content="voluit suite updates 5 juni 2024">

As you can see, none of them are empty so I'm not 100% sure why the problem is happening.

The potential solutions are:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions