Skip to content

[BUG] Article titles truncated at - #632

Open
@everonegraham

Description

@everonegraham

Describe the bug
I'm seeing instances where if - is in the title of the article:

  1. it only returns the characters before -
  2. its only returns the characters after -

To Reproduce
Steps to reproduce the behavior, please post any code you used and the website you tried to parse/process:

  1. Use an article with - in its title.
  2. call articles.title
  3. See result.

Expected behavior
Expected the full title of the article.

Screenshots

example for point 1:
url: https://www.jamstockex.com/transjamaican-highway-limited-tjh-trade-disclosure-3/
screenshot: image

example for point 2:
url: https://www.treblezine.com/plus-minus-announce-first-new-album-in-a-decade-further-afield/
screenshot: image

Extra example:
url: https://www.post-gazette.com/business/healthcare-business/2024/02/28/university-of-pittsburgh-drug-development-lansing-taylor-animal-testing/stories/202402280069
screenshot: image

System information

  • OS: [Windows]
  • Python version [3.12.1]
  • Library version [[0.9.3.1]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions