[mythtv-users] Problem with Apple Trailer Grabber

Michael T. Dean mtdean at thirdcontact.com
Fri Aug 21 20:15:04 UTC 2009


On 08/21/2009 11:29 AM, Johnny wrote:
>> I'm using the Ben Leto Apple Trailer Grabber script to download the Apple
>> movie trailers.  Last night, it started failing.  I am using it in the
>> download mode.  The script seems to run correctly and produces a valid
>> appletrailer.xml file, but the movie trailer files themselves fail to
>> download.  After some investigation, I discovered that the
>> 'system("/usr/bin/wget --quiet $movieLink");' line is really downloading a
>> file called "index.html" instead of the movie trailer file.  The value of
>> $movieLink is correct (ie, not "index.html").  Any one else having this
>> problem?
>>
>> In looking into this, I also made some modifications to the
>> myth_trailers_grabber script to detect and report these errors properly in
>> the appletrailer.xml file.
> Apple changed stuff yesterday when they released the Avatar trailer.
> Now you can only download from quicktime. If you are able to change it
> so that you can give the quicktime user agent then you will be allowed
> to download again. I know you can do it with wget:
> http://www.hd-trailers.net/blog/2009/08/20/direct-download-links-from-apple-are-not-working/

Please, do not discuss, here, how to circumvent the "protections" they 
put on their content, especially until someone can show that the script 
isn't already violating Apple's site's ToS ( 
http://www.apple.com/legal/terms/site.html ).

As it is, the script may be (I haven't looked at the script, 
specifically) violating the portion that says:
---
You may not use any “deep-link”, “page-scrape”, “robot”, “spider” or 
other automatic device, program, algorithm or methodology, or any 
similar or equivalent manual process, to access, acquire, copy or 
monitor any portion of the Site or any Content, or in any way reproduce 
or circumvent the navigational structure or presentation of the Site or 
any Content, to obtain or attempt to obtain any materials, documents or 
information through any means not purposely made available through the 
Site. Apple reserves the right to bar any such activity.
---

(where, IMHO (IANAL), the "automatic ... program" portion sounds a lot 
like a script, the "copy ... any portion of the Site or any Content" 
portion would be violated if anything (the actual trailers or even just 
URI's and titles) is saved on the Myth box, and the "circumvent the 
navigational structure or presentation of the Site or any Content" 
portion would be violated if the script isn't simply taking you in a 
browser to Apple's site)

However, since the terms /also/ say:
---
You may not forge headers or otherwise manipulate identifiers in order 
to disguise the origin of any message or transmittal you send to Apple 
on or through the Site or any service offered on or through the Site.
---
I can guarantee that changing the User-Agent string is a violation.

Mike

***Even if said "protection" is only a feeble attempt that can only 
succeed through legal protections, such as their ToS.


More information about the mythtv-users mailing list