help with ptgate scraper (1 Viewer)

hilfer

Portal Pro
November 3, 2010
241
3
Home Country
Portugal Portugal
Ok Instructions are clear but when I open options IMDb xml I have this:

<imdbplus>
<set id="01" name="global_options_original_title" value="false" />
<set id="02" name="global_options_foreign_title" value="false" />
<set id="03" name="global_options_foreign_first" value="false" />
<set id="04" name="global_options_uk_rating" value="false" />
<set id="05" name="global_options_imdb_score" value="false" />
<set id="06" name="global_options_imdb_metascore" value="false" />
<set id="07" name="global_options_long_summary" value="false" />
<set id="08" name="global_options_rotten_meter" value="false" />
<set id="09" name="global_options_rotten_average" value="false" />
<set id="10" name="global_options_rotten_top_critics" value="false" />
<set id="11" name="global_options_special_edition" value="true" />
<set id="12" name="global_options_rename_titles" value="true" />
<set id="13" name="global_options_single_score" value="false" />
<set id="14" name="global_options_min_imdb_votes" value="false" />
<set id="15" name="global_options_refresh_all_fields" value="false" />
<set id="16" name="global_options_one_writer_director" value="false" />

<set id="96" name="global_options_secondary_summary" value="true" />
<set id="97" name="global_options_secondary_details" value="01" />

<set id="98" name="global_options_country_filter" value="us|ca|gb|ie|au|nz" />
<set id="99" name="global_options_language_filter" value="en" />
</imdbplus>

and I have to change to this ??

<imdbplus>
<set id="01" name="global_options_original_title" value="true" />
<set id="02" name="global_options_foreign_title" value="false" />
<set id="03" name="global_options_foreign_first" value="false" />
<set id="04" name="global_options_uk_rating" value="false" />
<set id="05" name="global_options_imdb_score" value="false" />
<set id="06" name="global_options_imdb_metascore" value="false" />
<set id="07" name="global_options_long_summary" value="false" />
<set id="08" name="global_options_rotten_meter" value="false" />
<set id="09" name="global_options_rotten_average" value="false" />
<set id="10" name="global_options_rotten_top_critics" value="false" />
<set id="11" name="global_options_special_edition" value="true" />
<set id="12" name="global_options_rename_titles" value="true" />
<set id="13" name="global_options_single_score" value="false" />
<set id="14" name="global_options_min_imdb_votes" value="false" />
<set id="15" name="global_options_refresh_all_fields" value="false" />
<set id="16" name="global_options_one_writer_director" value="false" />

<set id="96" name="global_options_secondary_summary" value="true" />
<set id="06" name="global_options_secondary_details" value="01" />

<set id="98" name="global_options_country_filter" value="us|ca|gb|ie|au|nz" />
<set id="99" name="global_options_language_filter" value="en" />
</imdbplus>
 

RoChess

Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    No, change to (I took the liberty of adding some more settings that will benefit you):

    <imdbplus>
    <set id="01" name="global_options_original_title" value="true" />
    <set id="02" name="global_options_foreign_title" value="false" />
    <set id="03" name="global_options_foreign_first" value="false" />
    <set id="04" name="global_options_uk_rating" value="false" />
    <set id="05" name="global_options_imdb_score" value="false" />
    <set id="06" name="global_options_imdb_metascore" value="false" />
    <set id="07" name="global_options_long_summary" value="false" />
    <set id="08" name="global_options_rotten_meter" value="false" />
    <set id="09" name="global_options_rotten_average" value="false" />
    <set id="10" name="global_options_rotten_top_critics" value="false" />
    <set id="11" name="global_options_special_edition" value="true" />
    <set id="12" name="global_options_rename_titles" value="true" />
    <set id="13" name="global_options_single_score" value="false" />
    <set id="14" name="global_options_min_imdb_votes" value="false" />
    <set id="15" name="global_options_refresh_all_fields" value="true" />
    <set id="16" name="global_options_one_writer_director" value="false" />

    <set id="96" name="global_options_secondary_summary" value="true" />
    <set id="97" name="global_options_secondary_details" value="06" />

    <set id="98" name="global_options_country_filter" value="us|ca|gb|ie|au|nz|pt|br" />
    <set id="99" name="global_options_language_filter" value="en|pt" />
    </imdbplus>​

    If you still are unable to make things work, then please wait till later today or tomorrow. The new MPEI package that will auto-install and auto-update everything is almost done and ready for release. I'll still have to figure out a way to make it easier for foreign users to install then, but your struggles should help me figure out the best way to solve that.

    But if you use the above options XML file, then you should be good to go.
     

    hilfer

    Portal Pro
    November 3, 2010
    241
    3
    Home Country
    Portugal Portugal
    Ok It's working.Of course a lot of movies don't have a summary in Portuguese, but that's ok.

    In meantime I've had a lot of crashes with MP configuration and this is an old bug as it happens to me since I started using MP and moving Picture.

    Do you want me to report it here or somewhere else ??

    EDIT i forgot 1 important detail-I prefer main movie title in portuguese.Now all titles are in english.What do I have to change to get the main title movie in portuguese ??

    but first please go ahead with the finish of next release.I have time and what you are doing is much more important than my problem.
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    Ok It's working.Of course a lot of movies don't have a summary in Portuguese, but that's ok.

    Awesome, and yeah you can sign up at the imdb.pt website and start submitting the summaries in Portugese, if just a few more people would get involved with that, then in a short time all movies would have a localized summary.

    i forgot 1 important detail-I prefer main movie title in portuguese.Now all titles are in english.What do I have to change to get the main title movie in portuguese ??

    Yes, the entire scraper is designed to get the English title, almost 25% of the scraper-script code is needed to fix the problems that imdb.com introduced to mess that up.

    However, the options file I gave you, enables the 'original title' setting, as well as language adjustment settings which tricks my scraper into thinking that 'pt' (Portugese) is an English language as well and to accept those titles as-is. But down the road it is my intention to add a better system to support Portugese titles more, but that will have to wait.

    The new plugin with auto-update support is first :D
     

    Users who are viewing this thread

    Top Bottom