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

Error when parsing tv2 #64

Open
geirawsm opened this issue Sep 9, 2024 · 0 comments
Open

Error when parsing tv2 #64

geirawsm opened this issue Sep 9, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@geirawsm
Copy link
Owner

geirawsm commented Sep 9, 2024

[ 09.09.2024 08.00.50 ] [  VERBOSE  ] [ net_io.parse (433) ] Got parser `tv2livesport`
[ 09.09.2024 08.00.50 ] [ DATABASES ] [ net_io.get_link (37) ] Found scheme in url
[ 09.09.2024 08.00.50 ] [ DATABASES ] [ net_io.get_link (42) ] Trying `url`: https://tv2-sport-backend.sumo.tv2.no/football/matches/f28d8bb9-0aa1-4783-8849-cc705fe91c3a/facts
[ 09.09.2024 08.00.51 ] [ DATABASES ] [ net_io.get_link (46) ] Got status: 404
[ 09.09.2024 08.00.51 ] [ DATABASES ] [ net_io.get_link (48) ] Got content_out: <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>Cannot GET /football/matches/f28d8bb9-0aa1-4783-8849-cc705fe91c3a/facts</pre>
</body>
</html>
...
[ 09.09.2024 08.00.51 ] [   ERROR   ] [ net_io.get_link (54) ] Got error code 404
[ 09.09.2024 08.00.51 ] [   ERROR   ] [ net_io.parse (482) ] Klarte ikke parsing av https://www.tv2.no/livesport/fotball/kamper/man-city-vs-brentford/f28d8bb9-0aa1-4783-8849-cc705fe91c3a/oversikt - fikk følgende feil:
the JSON object must be str, bytes or bytearray, not int
[ 09.09.2024 08.00.51 ] [ DATABASES ] [ autoevent.event_add (94) ] scrape is NOT ok
@geirawsm geirawsm added the bug Something isn't working label Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant