Kodi Community Forum
Release TVDB - TV Show scraper (XML) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Information Providers (scrapers) (https://forum.kodi.tv/forumdisplay.php?fid=147)
+----- Forum: TV Show Scrapers (https://forum.kodi.tv/forumdisplay.php?fid=305)
+----- Thread: Release TVDB - TV Show scraper (XML) (/showthread.php?tid=349385)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30


RE: TVDB - TV Show Scraper - DarrenHill - 2020-01-13

There have been some problems recently at the TVDB end (see the last couple of pages of this thread for details) but they are now resolved.

So I would suggest to see if it's working now, and also note the known issue with non-English versions of shows which need a Parsing NFO file set up sometimes to point the scraper correctly to the database entry.


RE: TVDB - TV Show Scraper - Karellen - 2020-01-13

The other most likely reason of being unable to add new episodes to an already existing show in the library is item 1e here... https://forum.kodi.tv/showthread.php?tid=336969


RE: TVDB - TV Show Scraper - Sesshoumaru - 2020-01-14

Got an issue as well... no scraping anymore.
Quote:2020-01-14 01:46:29.896 T:16176   ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 401
2020-01-14 01:46:29.896 T:16176   ERROR: CCurlFile::Open failed with code 401 for http://api.tmdb.org/3/configuration?api_key=57983e31fb435df4df77afb854740ea9:
2020-01-14 01:46:29.896 T:16176   ERROR: ADDON::CScraper::Run: Unable to parse web site
 

When I take the called URL (http://api.tmdb.org/3/configuration?api_key=57983e31fb435df4df77afb854740ea9) then the reply is:
Quote:{"status_code":10,"status_message":"Suspended API key: Access to your account has been suspended, contact TMDb."}
Is there some update needed?


RE: TVDB - TV Show Scraper - Karellen - 2020-01-14

We cannot diagnose from 3 lines of a log. Please provide the full log.

Also you posted in the TVDB scraper thread. But you provided a link to TheMovieDB.


RE: TVDB - TV Show Scraper - Kecruz85 - 2020-01-15

(2020-01-13, 20:28)Karellen Wrote: The other most likely reason of being unable to add new episodes to an already existing show in the library is item 1e here... https://forum.kodi.tv/showthread.php?tid=336969
I will try this. Thank you Smile


RE: TVDB - TV Show Scraper - shedrock - 2020-01-18

Is it just me, or is the TVDB not scanning shows into the library?

Here is my log file. It works when I change the scraper to TMDB.

Log: https://paste.kodi.tv/pupeviselu.kodi

Shedrock


RE: TVDB - TV Show Scraper - Karellen - 2020-01-18

(2020-01-18, 01:55)shedrock Wrote: Is it just me, or is the TVDB not scanning shows into the library?
I cannot connect to TVDB either. Let's see what happens in a couple of hours


RE: TVDB - TV Show Scraper - shedrock - 2020-01-18

(2020-01-18, 04:08)Karellen Wrote: I cannot connect to TVDB either. Let's see what happens in a couple of hours 
No problem. Thanks @Karellen.


RE: TVDB - TV Show Scraper - Karellen - 2020-01-18

Seems to be working again.


RE: TVDB - TV Show Scraper - shedrock - 2020-01-18

(2020-01-18, 05:28)Karellen Wrote: Seems to be working again.
It seems to be acting up today.


RE: TVDB - TV Show Scraper - TwistedFaith - 2020-01-23

It seems to be acting up again today. I've been trying all day (since Jan 22 2020 9am CST) and no luck still (Jan 22 2020 11:58pm CST)


RE: TVDB - TV Show Scraper - btasker - 2020-01-23

It's definitely broken.

Debug log suggests its trying to parse the API's JSON responses as XML??
Quote:11:28:01.504 T:1549005808   DEBUG: FindMovie: Searching for 'Magic_Knight_Rayearth' using The TVDB scraper (path: '/home/osmc/.kodi/addons/metadata.tvdb.com', content: 'tvshows', version: '3.2.3')
11:28:01.504 T:1549005808   DEBUG: scraper: CreateSearchUrl returned <url post="yes" cache="auth.json">http://api.thetvdb.com/login?{"apikey":"439DFEBA9D3059C6"}|Content-Type=application/json</url>
11:28:01.507 T:1549005808   DEBUG: scraper: GetSearchResults returned <results><url function="GetSearchResultsAuth" cache="search-Magic_Knight_Rayearth-en.json">http://api.thetvdb.com/search/series?name=Magic_Knight_Rayearth|Authorization=Bearer%20eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1ODAzODM2NzQsImlkIjoiS29kaSIsIm9yaWdfaWF0IjoxNTc5Nzc4ODc0fQ.buhlqlAGCeGazN2Jq9rMgj9Wv5xgT1Zha8qmVSVlKmA0wSgpgkRcjPc9lcy36xFA71fzGKPDlleMTy7xp5zwo07-Dd9B0hLog1k_Gd-2NjvM4PDWbZHjYF5rH0OavotO6wBsYANLJCmJCgL7xbscaHax1BWcTHAKIaxvwBUjMDG6Ni6lmS-7Tuz5yPuu6QGAoQQfCKo5CDfugu2uZDm-faJ7B9T-hJaerbb_hLk7UJI31jO0Y2bs_eQR7oK9BbBn6sMXhSPiUvX_O3cRpZ6VhiKik-KwDrScESvcjWAcFozM4wsnFNtmOvpPNdVpVWxlvUddJrFt3ZbfLEwE1r33kQ&accept-language=en</url></results>
11:28:01.507 T:1549005808   DEBUG: CurlFile:TonguearseAndCorrectUrl() adding custom header option 'Authorization: ***********'
11:28:01.507 T:1549005808   DEBUG: CurlFile:TonguearseAndCorrectUrl() adding custom header option 'accept-language: en'
11:28:01.508 T:1549005808   DEBUG: CurlFile::Open(0x727e76e0) http://api.thetvdb.com/search/series?name=Magic_Knight_Rayearth
11:28:01.936 T:1549005808   DEBUG: CCurlFile::Open - effective URL: <https://api.thetvdb.com/search/series?name=Magic_Knight_Rayearth>
11:28:01.937 T:1549005808   DEBUG: Get: Using "UTF-8" charset for "http://api.thetvdb.com/search/series?name=Magic_Knight_Rayearth|Authorization=Bearer%20eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1ODAzODM2NzQsImlkIjoiS29kaSIsIm9yaWdfaWF0IjoxNTc5Nzc4ODc0fQ.buhlqlAGCeGazN2Jq9rMgj9Wv5xgT1Zha8qmVSVlKmA0wSgpgkRcjPc9lcy36xFA71fzGKPDlleMTy7xp5zwo07-Dd9B0hLog1k_Gd-2NjvM4PDWbZHjYF5rH0OavotO6wBsYANLJCmJCgL7xbscaHax1BWcTHAKIaxvwBUjMDG6Ni6lmS-7Tuz5yPuu6QGAoQQfCKo5CDfugu2uZDm-faJ7B9T-hJaerbb_hLk7UJI31jO0Y2bs_eQR7oK9BbBn6sMXhSPiUvX_O3cRpZ6VhiKik-KwDrScESvcjWAcFozM4wsnFNtmOvpPNdVpVWxlvUddJrFt3ZbfLEwE1r33kQ&accept-language=en"
11:28:01.942 T:1549005808   DEBUG: could not parse input XML
11:28:01.943 T:1549005808   DEBUG: XSLT: xslt transformation failed
11:28:01.944 T:1549005808   ERROR: Run: Unable to parse web site
11:28:01.945 T:1549005808 WARNING: No information found for item 'http://series.kat.home:80/Magic%5FKnight%5FRayearth/', it won't be added to the library.
I extracted the API creds and went through the login process + the search using curl and there's definitely (valid) JSON being returned.

So why's it being passed off for XML processing? Nothing in the response headers indicates XML
Quote:> GET /search/series?name=Magic%20Knight%20Rayearth HTTP/1.1
> Host: api.thetvdb.com
> User-Agent: curl/7.47.0
> Accept: */*
> Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1ODAzODI1MDUsImlkIjoiS29kaSIsIm9yaWdfaWF0IjoxNTc5Nzc3NzA1fQ.D70tll5WTBPt-s6Krh3_-JOnmY-H2YRLMe0CyqoQIYN72h3rzBBET430wCcrmE028MfkCpdjkLVASZBlALlntqsWytYWDdbR-hLEoKIiSH-OZIp6Ockhl59QyyY-_d4yTcVRH2KrqiZx0sM28TUF3KPpKn1cw2M11siYM_TbX5MJGMGZLjFmSJN2fahHBcLLM_QfaeDyvn7pQxvPzy_voRkSgtp-avHyNefZvrcqVE6BbrtHI7lzR5RUhyc2gT3-arx-W-UhpWZpoHHSkQs-Rwp4PfJh1bIA5kaczCHMvnIqC5d6VHydH-dJuAXID6AB7J1vw8Is7zr7amiXDbpq4A
> accept-language: en

< HTTP/1.1 200 OK
< Content-Type: application/json; charset=utf-8
< Transfer-Encoding: chunked
< Connection: keep-alive
< Date: Thu, 23 Jan 2020 11:31:24 GMT
< Cache-Control: private, max-age=86400
< X-Powered-By: Thundar!
< X-Thetvdb-Api-Version: 3.0.0
< Vary: Accept-Language
< X-Cache: Miss from cloudfront
< Via: 1.1 12568db103eebfea9d7f7cb5f0a8e524.cloudfront.net (CloudFront)
< X-Amz-Cf-Pop: FJR50-C1
< X-Amz-Cf-Id: LJIIAzQAZPHfTwsUm8zA3sV3pWX8VpkczVcyyWOYlCKS19F00ap35A==

I tried adding Accept:application/vnd.thetvdb.v2 to requests (as per https://api.thetvdb.com/swagger#/Versioning) but it makes no change to the response body, though it doesn't look like they actually honour that anymore (headers still suggest API v3.0.0 is being used), so _shrug_


RE: TVDB - TV Show Scraper - olympia - 2020-01-23

yet another change in tvdb's api response for search results.
Addressed in scraper v3.2.4.

I highly recommend & really time to change to themoviedb tv scraper.


RE: TVDB - TV Show Scraper - dogzipp - 2020-01-23

While I agree that tvdb has been less than reliable lately, the problem with switching to themoviedb is that it's not as good. Lots of tv shows they have no information about. Episodes guides are sometimes incomplete, artwork is limited, etc.

What Kodi needs (and it would be great if at some time is implemented), is for it to work more like Plex, and use several metadata providers at the same time. If something is not found on one provider (or is broken), query the next one... Or maybe have a primary and a secondary metadata provider, as backup. for this situations.


RE: TVDB - TV Show Scraper - sy278 - 2020-01-23

Looks like this is completely broken again - getting not authorised responses back from TVDB when trying to query it with the API.


This forum uses Lukasz Tkacz MyBB addons.