WIP [OTR Scraper] How to fetch image for background?
#1
Hi,

I have finished first version of my OTR movie scaper. Everything looks fine, I see all details and also the poster of the movie.
My last issue is, that I don't know how to force the scraper to download a background image (1920 x 1080) for the movies as thumb in the details object.
Can anybody explain to me how the <details><thumb> section has to look like to get the image?

My actual <details> object looks like the following:

Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<details>
    <title>Indiana Jones und der letzte Kreuzzug</title>
    <year>1989</year>
    <director>Steven Spielberg</director>
    <tagline>Der Mann mit dem Hut ist zurück. Und dieses Mal bringt er seinen Vater mit.</tagline>
    <runtime>127</runtime>
    <thumb aspect="poster" preview="http://otrscraper.local/image/d4lwwDo0kRrvq2sgGFR1hySR9tS.jpg?w=300">http://otrscraper.local/image/d4lwwDo0kRrvq2sgGFR1hySR9tS.jpg</thumb>
    <thumb preview="http://otrscraper.local/image/m3bEQlir8IWpmFocQBXWM5fkHri.jpg?w=300" dim="1920x1080">http://otrscraper.local/image/m3bEQlir8IWpmFocQBXWM5fkHri.jpg?w=1920</thumb>
    <credits>Director: Steven Spielberg</credits>
...
</details>

A sample of a <details> result would be nice.

Thanks in advance,

Bozan

PS. If anybody want to test the OTR (http://www.onlinetvrecorder.com/) scraper give me a pm. It works for me, but is still beta.
Reply

Logout Mark Read Team Forum Stats Members Help
[OTR Scraper] How to fetch image for background?1