Quantcast
Channel: Kodi Community Forum - Scrapers
Viewing all 171 articles
Browse latest View live

Scraper National Geographic

$
0
0
Good evening or good morning

Looking for a scaper kodi French documentary, National Geographic, or others. Does it exist?
And I am also looking for a scraper French comedians.

Thank you

Show actors in Movie description

$
0
0
Hi,

I am looking for a way to show the actors in a movie vs director in my library description of a movie. If someone can point me to a post or give me directions it would be appreciated.

Thanks

Re-scraping only some information

$
0
0
Hi folks,
I have been using xbmc/kodi for more than three years now, and have a collection of several hundreds of movies. I have all my library exported to .nfo files locally saved on the movie directory. I have been finding that some movies have outdated information e.g. the link to the trailer is not working as the video on youtube has been removed. I do not want to rescrap all the library as it will take ages and will also remove some tweaks I made, as fixing the genres and changing the poster image. I am sure that an add-on exists that updates only certain pieces of information (the vote and so on), but - for the life of me - I cannot remember its name. Someone can help me out?
Thanks,
Gio

scraper issue

$
0
0
why kodi develepoers dont focus about scrapering issue i see this problem also on kodi 17. the only addon that scrape correctly its themedia wiz wall that doing a great job scraping from tmdb.
but if i want to scrape from universal scraper or any other scraper by adding new videoaddon kodi not updating my library and not scraping whats so ever. is that issue can be solve?

TMDB PT BR

$
0
0
The TMDB from default PT BR this having many failures at the time of boy the information many titles this coming with very unknown or even this coming in English. I will leave a clear example of this.

How to remove prefixed order numbers from filenames before scraping

$
0
0
Hello, I'm not sure if this is the correct forum to post this question but I'd like to know if there is a way to remove order numbers from movie filenames before scraping. To clarify, I have some directories containing multiple files of a set and those files start with numbers so that they are in the proper order, like so:

01. Friday the 13th (1980).mp4
02. Friday the 13th Part 2 (1981).mp4
03. Friday the 13th Part 3 (1982).mp4
04. Friday the 13th - The Final Chapter (1984).mp4
05. Friday the 13th - A New Beginning (1985).mp4
06. Friday the 13th Part VI - Jason Lives (1986).mp4
07. Friday the 13th Part VII - The New Blood (1988).mp4
08. Friday the 13th Part VIII - Jason Takes Manhattan (1989).mp4
09. Jason Goes to Hell - The Final Friday (1993).mp4
10. Jason X (2001).mp4
11. Friday The 13th (2009).mp4

I'm aware that ordering can be set with .nfo files but I am not just using Kodi to access these files, I have other media players that don't use .nfo files so I'd like to keep the numbers. The numbers cause the The Movie Database scraper to not pick up the movies so is there some setting or regex I can add somewhere which will tell the scraper to remove these numbers before scraping? Thanks.

TheaudioDB

[Solved] Unable to connect to TVDB (for two days)

$
0
0
Hello,

Any one else having trouble connecting to "TVDB"?

I'm getting a "Could not connect: Too many connections" message trying to connect. I can't connect via my computer (either firefox or chrome), or Media Companion. Been like this for a couple of days. Is something up?

Thx.

Update: Two days I can't access it and 30 mins after I post here, it's back. Weird!

AMDB Arabic Movies Scraper

$
0
0
AMDB The Arabic Movie Database. is the first Arabic movies Scraper , work with Kodi (xbmc)

Style for TV Show Episodes, Local Scraper.. Help

$
0
0
Hello,

Im using EMM to edit my KODI related Media-Files. I never scrape with Online-Scrapers included in KODI.

The Sort-Style how TV-Show-Episodes are shown in Kodi are different.

1x01
1x02
1x03
...

other

01.
02.
03.
...

Which command i have to use, to make them look equal? I really dont like 1x01 Style. I checked some .nfo Files where the style is correct and compared to the .nfo files, whre the style is incorrect i couldnt see the command for it.

Please help me.

Thank you.

Scraper reading a xml file

$
0
0
Hello everyone, I would like to develop my first scraper. I would like to know if it is possible that the scraper read an xml file which you previously stored the details of the film.
I thank all those who help me.

using Kodi scrapers for personal project

$
0
0
Hi,

I would like to ask about the stance of the kodi project on a possible scraper reuse in another project (also GPL). And possibly any best practice you would recommend.
I was toying with the idea of writing my own scraper, but then saw the giant library of kodi scrapers, read how to write a scraper, and figured implementing your "engine" (which BTW I find very ingenious) would be a lot easier than writing/maintaining my own scrapers. I currently have a proof of concept working (themoviedb scraper loads and gets info for a movie Smile ) .

Of course I have no idea if it will go anywhere, but if it does, I'd like to be on good terms with you guys Wink

Thanks,

serafean.

TMDB ERROR PT BR

HTTP headers ignored

$
0
0
Hello I am trying to set header information in a url using that information: HTTP (wiki) . I looked up on debug log information and there is no message about http headers.

Here is an example about the url that I am trying to use:
Code:
http://s15.vimple.ru:8081/vv68/730508.mp4?v=3296a293-7b29-41b5-803a-204e5e0ef691&t=635941098541617500&d=6116&sig=ef145d9f558ee3e57dcde6b668c2c769|DNT=1&connection=keep-alive&Accept-Language=en-US,en;q=0.5&accept-encoding=gzip,deflate&Cookie=UniversalUserID=dfcc0ee95aca4db5b416626f4d0dcc88&Referer=http://player.vimple.ru/iframe/3296a2937b2941b5803a204e5e0ef691&Accept=video/webm,video/ogg,video/*;q=0.9,application/ogg;q=0.7,audio/*;q=0.6,*/*;q=0.5&user-agent=Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0

I tested this url on pc it works. I spent a week looking the reason.
EDIT: How do you pass cookies to kodi?
Any help would be appreciated. Thank you.

Scraping recorded TV-Shows - extend TVDB Scraper - get function calls right

$
0
0
Already spent days to get this working: I got a local PVR to record Movies and TV shows. For recorded movie files I was already successful scraping them with the information my PVR gives me by calling its XML-API - with the TV shows I still fail and I now hope somebody can help me.

I thought the task would be simple: Just make a HTTP-Call to the PVR API, get the TVDB-ID there for the file to be scraped, and then go on with the regular TVDB-scraper using this ID. So mainly just modifying the functions "CreateSearchUrl" or maybe also "GetSearchResults".

Yet the main problem I have is calling a function in the right way to do this TVDB-ID lookup. I tried many ways - two of them are shown below.

What I was still not able to figure out is how to call a function in the right way. My main questions are:
  1. When I use a function to get some XML-file from another site - how do I trigger to really GET the content from those sites? At what point of the execution of the scraper are URLs realy evaluated? My log files suggests that this is not triggered just calling a function - they mainly just extend the URLs and make them richer with code.
  2. Do I need to enclose the results of a function with any XML-tags? Mostly all of the code sample put the results between <details> and </details> - but why? Why "details" and could I also use "url" for example. I don't understand how this is used. I just noticed that if I don't use any enclosing tags at all the function simple doesn't show up being executed in the log file.

So this is my code ...

First try - extend CreateSearchUrl to call the PVR API to get the TVDB-ID and then pass it on regularily to GetSerachResults:
Code:
<CreateSearchUrl dest="3">
    <RegExp input="$$1" output="<chain function="GetTVDBIdFromEpisode">\1</chain>" dest="5">
        <expression >(?:%20| |_)([]0-9]+)(?:\.ts|$)</expression>
    </RegExp>
    <RegExp input="$$5" output="<url>http://thetvdb.com/api/GetEpisode.php?id=\1&amp;language=$INFO[language]</url>" dest="3">
        <expression noclean="1" />
    </RegExp>
</CreateSearchUrl>

<GetTVDBIdFromEpisode dest="3">
    <RegExp input="$$4" output="<details>\1</details>" dest="3">
        <RegExp input="$$1" output="<url function="ParseTVDBIdFromEpisode">http://10.0.0.1:8081/record.onexml?id=\1</url>" dest="4">
            <expression />
        </RegExp>
        <expression noclean="1" />
    </RegExp>
</GetTVDBIdFromEpisode>

<ParseTVDBIdFromEpisode dest="5">
    <RegExp input="$$1" output="<details>\1</details>" dest="5">
        <expression><t_thetvdbid>([0-9]+)</t_thetvdbid></expression>
    </RegExp>
</ParseTVDBIdFromEpisode>

Not working - both the API call and the function ParseTVDBIdFromEpisode are working, but the result is not passed on to the top. So the value for the ID to be used in CreateSearchUrl is finally empty.

Code:
23:15:30 T:1826356112   DEBUG: std::vector<CScraperUrl> ADDON::CScraper::FindMovie(XFILE::CCurlFile&, const string&, bool): Searching for '20160830 rtl Bones - Die Knochenjaegerin 2026' using IPTV PVR TV Series Scraper scraper (path: '/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/metadata.iptvpvr.tvdb', content: 'tvshows', version: '1.0.0')
23:15:30 T:1826356112   DEBUG: scraper: CreateSearchUrl returned <url>http://thetvdb.com/api/GetEpisode.php?id=<chain function="GetTVDBIdFromEpisode">2026</chain>&language=de</url>
23:15:30 T:1826356112   DEBUG: scraper: GetTVDBIdFromEpisode returned <details><url function="ParseTVDBIdFromEpisode">http://10.0.0.1:8081/record.onexml?id=2026</url></details>
23:15:30 T:1826356112   DEBUG: CurlFile::Open(0x6e1624b0) http://10.0.0.1:8081/record.onexml?id=2026
23:15:30 T:1826356112    INFO: void XCURL::DllLibCurlGlobal::easy_aquire(const char*, const char*, XCURL::CURL_HANDLE**, XCURL::CURLM**) - Created session to http://10.0.0.1
23:15:30 T:1826356112   DEBUG: static bool CScraperUrl::Get(const CScraperUrl::SUrlEntry&, std::string&, XFILE::CCurlFile&, const string&): Using "UTF-8" charset for XML "http://10.0.0.1:8081/record.onexml?id=2026"
23:15:30 T:1826356112   DEBUG: scraper: ParseTVDBIdFromEpisode returned <details>4818866</details>
23:15:30 T:1826356112   DEBUG: CurlFile::Open(0x6e1624b0) http://thetvdb.com/api/GetEpisode.php?id=
23:15:30 T:1826356112   DEBUG: static bool CScraperUrl::Get(const CScraperUrl::SUrlEntry&, std::string&, XFILE::CCurlFile&, const string&): Using "UTF-8" charset for XML "http://thetvdb.com/api/GetEpisode.php?id="
23:15:30 T:1826356112   DEBUG: scraper: GetSearchResults returned <?xml version="1.0" encoding="utf-8" standalone="yes"?><results></results>

Second try - extend the function GetSearchResults to make the API-call:

Code:
<CreateSearchUrl dest="3">
    <RegExp input="$$1" output="<url>http://10.0.0.1:8081/record.onexml?id=\1</url>" dest="3">
        <expression noclean="1">(?:%20| |_)([]0-9]+)(?:\.ts|$)</expression>
    </RegExp>
</CreateSearchUrl>

<GetSearchResults dest="8">
    <RegExp input="$$5" output="<?xml version="1.0" encoding="iso-8859-1" standalone="yes"?><results><entity>\1</entity></results>" dest="8">
        <RegExp input="$$1" output="<title>\1</title>" dest="5">
            <expression><t_caption>([^<]*)</t_caption></expression>
        </RegExp>
        <RegExp input="$$1" output="<url cache="tt\1.xml" function="GetTVDBIdFromEpisode">http://thetvdb.com/api/GetEpisode.php?id=\1&amp;language=$INFO[language]</url>" dest="5+">            
            <expression><t_thetvdbid>([0-9]+)</t_thetvdbid></expression>
        </RegExp>
        <expression noclean="1" />
    </RegExp>
</GetSearchResults>

<GetTVDBIdFromEpisode dest="3">
    <RegExp input="$$1" output="<url cache="\1-$INFO[language].xml">http://thetvdb.com/api/1D62F2F90030C444/series/\1/all/$INFO[language].zip</url>" dest="3">
        <expression><seriesid>([0-9]+)</seriesid></expression>
    </RegExp>
</GetTVDBIdFromEpisode>

Still not working - the API function call is not done during execution of GetSearchResults. Instead the whole code for calling the function is passed on to the function "GetDetails" and there it is not working.

Code:
23:11:04 T:1825258144   DEBUG: std::vector<CScraperUrl> ADDON::CScraper::FindMovie(XFILE::CCurlFile&, const string&, bool): Searching for '20160830 rtl Bones - Die Knochenjaegerin 2026' using IPTV PVR TV Series Scraper scraper (path: '/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/metadata.iptvpvr.tvdb', content: 'tvshows', version: '1.0.0')
23:11:04 T:1825258144   DEBUG: scraper: CreateSearchUrl returned <url>http://10.0.0.1:8081/record.onexml?id=2026</url>
23:11:04 T:1825258144   DEBUG: CurlFile::Open(0x71f0c220) http://10.0.0.1:8081/record.onexml?id=2026
23:11:04 T:1825258144    INFO: void XCURL::DllLibCurlGlobal::easy_aquire(const char*, const char*, XCURL::CURL_HANDLE**, XCURL::CURLM**) - Created session to http://10.0.0.1
23:11:04 T:1825258144   DEBUG: static bool CScraperUrl::Get(const CScraperUrl::SUrlEntry&, std::string&, XFILE::CCurlFile&, const string&): Using "UTF-8" charset for XML "http://10.0.0.1:8081/record.onexml?id=2026"
23:11:04 T:1825258144   DEBUG: scraper: GetSearchResults returned <?xml version="1.0" encoding="iso-8859-1" standalone="yes"?><results><entity><title>Bones - Die Knochenj&#xE4;gerin</title><url cache="tt4818866.xml" function="GetTVDBIdFromEpisode">http://thetvdb.com/api/GetEpisode.php?id=4818866&language=de</url></entity></results>
23:11:04 T:1825258144   DEBUG: bool ADDON::CScraper::GetVideoDetails(XFILE::CCurlFile&, const CScraperUrl&, bool, CVideoInfoTag&): Reading movie 'http://thetvdb.com/api/GetEpisode.php?id=4818866&language=de' using IPTV PVR TV Series Scraper scraper (file: '/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/metadata.iptvpvr.tvdb', content: 'tvshows', version: '1.0.0')
23:11:04 T:1825258144   DEBUG: CurlFile::Open(0x71f0c220) http://thetvdb.com/api/GetEpisode.php?id=4818866&language=de
23:11:04 T:1825258144    INFO: void XCURL::DllLibCurlGlobal::easy_aquire(const char*, const char*, XCURL::CURL_HANDLE**, XCURL::CURLM**) - Created session to http://thetvdb.com
23:11:05 T:1825258144   DEBUG: static bool CScraperUrl::Get(const CScraperUrl::SUrlEntry&, std::string&, XFILE::CCurlFile&, const string&): Using "UTF-8" charset for XML "http://thetvdb.com/api/GetEpisode.php?id=4818866&language=de"
23:11:05 T:1825258144   DEBUG: scraper: GetDetails returned <?xml version="1.0" encoding="utf-8" standalone="yes"?><details><id></id><chain function="GetArt"></chain><episodeguide><url cache="-.xml">http://thetvdb.com/api/GetEpisode.php?id=4818866&language=de</url></episodeguide></details>
23:11:05 T:1825258144   DEBUG: scraper: GetArt returned <details><url function="ParseArt" cache="-de.xml">http://thetvdb.com/api/1D62F2F90030C444/series//banners.xml</url></details>
23:11:05 T:1825258144   DEBUG: CurlFile::Open(0x71f0c220) http://thetvdb.com/api/1D62F2F90030C444/series//banners.xml
23:11:05 T:1825258144   ERROR: CCurlFile::Open failed with code 404 for http://thetvdb.com/api/1D62F2F90030C444/series//banners.xml

Thank you for very much your help or your ideas - highly appreciated!
Gerald

No scraper or fanart for TV shows

$
0
0
I'm using libreelec on raspberry PI 3, and TVHeadend for the backend and of course Kodi for the frontend. I'm using tvheadend pvr client. Also, I have two HDHomeruns HDHR and HDHR3. I'm trying to get my TV Show library to show up. I've chosen the folder and set it up for TVDB it scans and finds the content of the folder, but I don't get any information or fanart to show up under TV Show, not if I click on Title, recently added espisodes, etc there is nothing there. I have to go into the folder under files to see them. If I highlight the show I can see a picture associated with the show. How do you get the information to show up?

TMDB TV Series

$
0
0
How can you do a job in half, set the TMDB to take the language "PT-BR", but they forgot the tv series.

Merging

$
0
0
Many videos I have don't scrape because they aren't on any database. I'd like Kodi to add them regardless, using their filename as title. So there's a scraper that does that, and this is the code:

Code:
<CreateSearchUrl dest="3" clearbuffers="no">
        <RegExp dest="3" output="&lt;url&gt;http://search.yahoo.com/search?p=$$7&lt;/url&gt;" input="$$7">
            <RegExp dest="7" output="\1" input="$$1">
                <expression noclean="1" trim="1">(.+)</expression>
            </RegExp>
            <expression noclean="1"></expression>
        </RegExp>
    </CreateSearchUrl>
    <GetSearchResults dest="8" clearbuffers="no">
        <RegExp dest="8" output="&lt;results sorted=&quot;yes&quot;&gt;\1&lt;/results&gt;" input="$$5">
            <RegExp dest="5" output="&lt;entity&gt;&lt;title&gt;\1&lt;/title&gt;&lt;url&gt;http://search.yahoo.com/search?p=$$7&lt;/url&gt;&lt;/entity&gt;" input="$$1">
                <expression noclean="1" trim="1">&lt;title&gt;([^"]*)\-\sYahoo Search</expression>
            </RegExp>
            <expression noclean="1"></expression>
        </RegExp>
    </GetSearchResults>
    <GetDetails dest="3" clearbuffers="no">
        <RegExp dest="3" output="&lt;details&gt;\1&lt;/details&gt;" input="$$5">
            <RegExp dest="5+" output="&lt;title&gt;\1&lt;/title&gt;" input="$$1">
                <expression noclean="1" trim="1">&lt;title&gt;(.+)\s\-\sYahoo Search Results&lt;/title&gt;</expression>
            </RegExp>
            <expression noclean="1" trim="1"></expression>
        </RegExp>
    </GetDetails>

I'd like to merge this into the code of either tmdb.xml or universal.xml, so that I have one scraper that gets most movies with, and then uses the one above for when TMDB can't match the filename with anything. I don't know where to put it, though. If I do it at the top, it takes priority over TMDB to the point were TMDB is not used at all, and if I put it at the very end it gets ignored.

Scraper not Scraping

$
0
0
Hi All,

Been using Kodi for a while now but have run into a small issue on 16.1.

I use CouchPotato to handle my movies but once it renames the file and notifies Kodi, Kodi does not scrape the metadata. I can set CP to do it but then the trailers like in the Movie Information screen doesnt work. If I manually trigger a refresh it scrapes fine.

Any ideas how to make it scrape on new movie add?

How do series/show episode scrapers work?

Viewing all 171 articles
Browse latest View live