The branch, dharma has been updated
       via  3aec3b5324ef380cd7e84d6ca26fe99d10c55869 (commit)
      from  4a414d6d518f9336ac31425ec63fd2c83e7cb1e6 (commit)

- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/scrapers;a=commit;h=3aec3b5324ef380cd7e84d6ca26fe99d10c55869

commit 3aec3b5324ef380cd7e84d6ca26fe99d10c55869
Author: olympia <[email protected]>
Date:   Sat Dec 4 09:46:18 2010 +0100

    [metadata.atmovies.com.tw] updated to version 1.0.4

diff --git a/metadata.atmovies.com.tw/AtMovies.xml 
b/metadata.atmovies.com.tw/AtMovies.xml
index c52264b..269b919 100644
--- a/metadata.atmovies.com.tw/AtMovies.xml
+++ b/metadata.atmovies.com.tw/AtMovies.xml
@@ -1,14 +1,17 @@
 <?xml version="1.0" encoding="utf-8"?>

 <scraper framework="1.1" date="2010-09-13">

        <CreateSearchUrl dest="3">

-               <RegExp input="$$1" 
output="&lt;url&gt;http://search.atmovies.com.tw/search/search.cfm?action=home&amp;type=film&amp;fr=atmovie-cfm&amp;search_term=%27\1%27&lt;/url&gt;";
 dest="3">

-                       <expression />

+               <RegExp input="$$1" 
output="&lt;url&gt;http://www.bing.com/search?q=site:+app.atmovies.com.tw+action%3Dfilmdata+影片資料+\1+$$4&amp;go=&amp;form=QBRE&amp;filt=all&amp;setmkt=zh-TW&amp;setlang=SET_NULL&lt;/url&gt;";
 dest="3">

+                       <RegExp input="$$2" output="\1" dest="4">

+                               <expression clear="yes">(.+)</expression>

+                       </RegExp>

+                       <expression noclean="1" />

                </RegExp>

        </CreateSearchUrl>

        <GetSearchResults dest="8">

                <RegExp input="$$5" output="&lt;?xml version=&quot;1.0&quot; 
encoding=&quot;UTF-8&quot; 
standalone=&quot;yes&quot;?&gt;&lt;results&gt;\1&lt;/results&gt;" dest="8">

-                       <RegExp input="$$1" 
output="&lt;entity&gt;&lt;title&gt;\2&lt;/title&gt;&lt;url&gt;http://app.atmovies.com.tw/movie/movie.cfm?action=filmdata&amp;amp;film_id=\1&lt;/url&gt;&lt;year&gt;\3&lt;/year&gt;&lt;id&gt;\1&lt;/id&gt;&lt;/entity&gt;";
 dest="5">

-                               <expression 
repeat="yes">redirect\.cfm\?p=F&amp;d=([a-zA-Z0-9]*)" class=at11&gt;[^ 
\t\n\t](.[^&lt;]*)&lt;/a&gt; &lt;font class=at9 
color=#606060&gt;([0-9]*)&lt;/font&gt;</expression>

+                       <RegExp input="$$1" 
output="&lt;entity&gt;&lt;title&gt;\1&lt;/title&gt;&lt;url&gt;http://app.atmovies.com.tw/movie/movie.cfm?action=filmdata&amp;amp;film_id=\2&lt;/url&gt;&lt;id&gt;\2&lt;/id&gt;&lt;/entity&gt;";
 dest="5">

+                               <expression repeat="yes" 
trim="1">&lt;p&gt;(.*?) [:\w* 
]*&lt;strong&gt;.*?film_[iI][dD]=([a-zA-Z0-9]*)</expression>

                        </RegExp>

                        <expression noclean="1" />

                </RegExp>

@@ -90,29 +93,10 @@
        </GetIMDBRating>

        <GetIMDBGenre clearbuffers="no" dest="5">

                <RegExp input="$$8" output="&lt;details&gt;\1&lt;/details&gt;" 
dest="5">

-                   <RegExp input="$$1" output="&lt;genre&gt;\1&lt;/genre&gt;" 
dest="8">

-                           <expression repeat="yes">&lt;a 
href="/genre/([^"]+)</expression>

-               </RegExp>

-                       <expression noclean="1" />

-       </RegExp>

-       </GetIMDBGenre>

-       <!--  GetIMDBGenre clearbuffers="no" dest="5">

-               <RegExp input="$$8" output="&lt;details&gt;\1&lt;/details&gt;" 
dest="5">

-                       <RegExp input="$$11" 
output="&lt;genre&gt;$$11&lt;/genre&gt;" dest="5">

-                               <RegExp input="$$1" output="\1" dest="10">

-                                       
<expression>/Sections/Genres/[^/]*/"&gt;([^&lt;]*)&lt;/a&gt;</expression>

-                               </RegExp>

-                               <RegExp input="$$10" output="&lt;url 
function=&quot;GetGoogleTranslation&quot;&gt;http://translate.google.com.tw/#en|zh-TW|$$10%20movies&lt;/url&gt;"
 dest="11">

-                                       <expression />

-                               </RegExp>

-                               <expression repeat="yes" />

+                       <RegExp input="$$1" 
output="&lt;genre&gt;\1&lt;/genre&gt;" dest="8">

+                               <expression repeat="yes">&lt;a 
href="/genre/([^"]+)</expression>

                        </RegExp>

                        <expression noclean="1" />

                </RegExp>

        </GetIMDBGenre>

-       <GetGoogleTranslation clearbuffers="no" dest="5">

-               <RegExp input="$$1" output="\1" dest="5">

-                       <expression>class="short_text"&gt;&lt;span 
title=""&gt;(.*)&lt;/span&gt;&lt;/span&gt;</expression>

-               </RegExp>

-       </GetGoogleTranslation-->

 </scraper>

diff --git a/metadata.atmovies.com.tw/addon.xml 
b/metadata.atmovies.com.tw/addon.xml
index 9945eb4..980ec28 100644
--- a/metadata.atmovies.com.tw/addon.xml
+++ b/metadata.atmovies.com.tw/addon.xml
@@ -1,12 +1,12 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <addon id="metadata.atmovies.com.tw"
        name="AtMovies"
-       version="1.0.3"
+       version="1.0.4"
        provider-name="Jimmy Tai">
   <requires>
     <import addon="xbmc.metadata" version="1.0"/>
-    <import addon="metadata.common.themoviedb.org" version="1.1.6"/>
-    <import addon="metadata.common.imdb.com" version="2.0.2"/>
+    <import addon="metadata.common.themoviedb.org" version="1.2.0"/>
+    <import addon="metadata.common.imdb.com" version="2.1.4"/>
   </requires>
   <extension point="xbmc.metadata.scraper.movies"
              language="zh"
@@ -14,8 +14,8 @@
   <extension point="xbmc.addon.metadata">
     <summary lang="en">AtMovies Traditional Chinese Movie Scraper</summary>
     <summary lang="zh">開眼電影網 正體中文電影資訊</summary>
-    <description lang="en">AtMovies a free and open movie database in 
Traditional Chinese. This scraper downloads movie details from AtMovies. Part 
of the information will be downloaded from IMDB and TMDB. In my experience, the 
search engine of AtMovies is quite strict. One may find nothing in search 
result if you misspell a letter in English title. So my suggestion is that 
users can layout your movies in the form of \ChineseTitle\EnglishTitle.mkv. 
Thus if you want to do scraper things by this Traditional Chinese scraper, you 
can search them by directory name. On the other hand, if you want to search 
them in English websites such as IMDB, you can search them by file name. 
IMPORTANT: Note that if you can find movie titles but can't download movie 
detail, please try again at another time because of the connection issue of 
AtMovie. To fully enable all the functions of this scraper, it is also 
recommended to set this scraper as the default movie scraper( 
System->Video->Scrapers ). To obtain information of director, writer and cast, 
be sure to have IMDB scraper installed.</description>
-    <description 
lang="zh">開眼電影網是一個開放和免費的電影資料庫。這個scraper會從開眼電影網下載電影資訊,部份的資訊會從IMDB和TMDB下載。根據我的經驗,開眼電影網的搜尋引擎似乎比較嚴苛,使用者可能在片名輸入錯了一個字便會找不到影片,因此建議存放影片的命名方式為
 
\中文電影名\英文電影名.mkv。注意,根據我的經驗,開眼電影網似乎在晚上時間比較難連線,若發生找的到片名但是找不到詳細內容的話,請換個時間試試(如早上)。為了全面發揮本scraper的功能,建議在使用的時候將本scraper設為預設的電影scraper站台(系統設定->影片->網路站台)。如要取得導演、編劇、演員等資訊,請確保也安裝了IMDB的scraper。</description>
+    <description lang="en">AtMovies a free and open movie database in 
Traditional Chinese. This scraper downloads movie details from AtMovies. Part 
of the information will be downloaded from IMDB and TMDB. Because I changed the 
search engine, users can now search titles by file name. IMPORTANT: Note that 
if you can find movie titles but can't download movie detail, please try again 
at another time because of the connection issue of AtMovie. To fully enable all 
the functions of this scraper, it is also recommended to set this scraper as 
the default movie scraper( System->Video->Scrapers ). To obtain information of 
director, writer and cast, be sure to have IMDB scraper installed.</description>
+    <description 
lang="zh">開眼電影網是一個開放和免費的電影資料庫。這個scraper會從開眼電影網下載電影資訊,部份的資訊會從IMDB和TMDB下載。由於更換了搜尋引擎,目前的版本可以直接以檔名來搜尋,根據我的經驗,開眼電影網似乎在晚上時間比較難連線,若發生找的到片名但是找不到詳細內容的話,請換個時間試試(如早上)。為了全面發揮本scraper的功能,建議在使用的時候將本scraper設為預設的電影scraper站台(系統設定->影片->網路站台)。如要取得導演、編劇、演員等資訊,請確保也安裝了IMDB的scraper。</description>
     <platform>all</platform>
   </extension>
 </addon>
diff --git a/metadata.atmovies.com.tw/changelog.txt 
b/metadata.atmovies.com.tw/changelog.txt
index 4913934..7925dc7 100644
--- a/metadata.atmovies.com.tw/changelog.txt
+++ b/metadata.atmovies.com.tw/changelog.txt
@@ -1,4 +1,7 @@
-Version 1.0.r32 (Oct 8 2010)
+Version 1.0.4 (Dec 4 2010)
+ - Change the search engine to Bing because it seems that we can't use 
AtMovies' search engine now :( 
+
+Version 1.0.3 (Oct 8 2010)
  - Adapt new layout of AtMovies for some movies 
 
 Version 1.0.2 (Oct 3 2010)

-----------------------------------------------------------------------

Summary of changes:
 metadata.atmovies.com.tw/AtMovies.xml  |   34 ++++++++-----------------------
 metadata.atmovies.com.tw/addon.xml     |   10 ++++----
 metadata.atmovies.com.tw/changelog.txt |    5 +++-
 3 files changed, 18 insertions(+), 31 deletions(-)


hooks/post-receive
-- 
Scrapers

------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to