Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS Selector Complex Bridge throws Error Code "0" when parsing time #4097

Open
ProfNeck opened this issue May 3, 2024 · 0 comments
Open
Labels
Bug-Report Confirmed bug report

Comments

@ProfNeck
Copy link

ProfNeck commented May 3, 2024

Describe the bug
I am trying to create an rss feed for this news site: https://www.kicker.de/hessen-kassel/team-news
Everything is working, except parsing the timestamp. The provided time on the article site is formatted like this: 01.05.24 - 13:51. After consulting the documentation on "DateTimeImmutable::createFromFormat" (php.net), I am using this string: d.m.y - h:i

Error code: 0 with message Call to a member function getAttribute() on null in Line 444

To Reproduce
Steps to reproduce the behavior:

  1. Use 2CSS Selector Complex Bridge"
  2. Use time selector .kick__article__time
  3. Use string d.m.y - h:i to parse the time
  4. Get error code 0

Expected behavior
Parsing the article's time correctly by using the above string

Screenshots
grafik

Desktop (please complete the following information):

  • OS: Linux
  • Browser: Firefox 125.0.3 (64-Bit)

Additional context
The error is occurring with or without using quotation marks around the format string.
Could this be caused by the ::before selector?
Everything else is working fine.

@ProfNeck ProfNeck added the Bug-Report Confirmed bug report label May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug-Report Confirmed bug report
Projects
None yet
Development

No branches or pull requests

1 participant