Author |
Topic |
|
kirill2785
Junior Member
Israel
332 Posts |
Posted - 29 Oct 2012 : 20:18:48
|
Hello Sometimes changes on the movie's websites cause a script to mulfunction, to retirive partial information or even sometimes to import nothing at all. an application/functin can be built to compare once a day the info of the sites to a working copy of the site/fields. This way we can track the changes of each site and correct it's script. |
kirill2785 |
|
Alessio Viti
Forum Admin
Italy
9171 Posts |
|
kirill2785
Junior Member
Israel
332 Posts |
Posted - 08 Dec 2012 : 20:24:41
|
Alessio, Any progress? Scripts are changing and we are chasing our tails... |
kirill2785 |
|
|
Alessio Viti
Forum Admin
Italy
9171 Posts |
|
kirill2785
Junior Member
Israel
332 Posts |
Posted - 09 Dec 2012 : 19:59:40
|
That's not what i meant,my suggestion was making a tool that tracks changes of sites, which caus scripts to mulfunctio, this tool will alert when a change like that happens instead of waiting for the users to complain about a non-working-script. |
kirill2785 |
|
|
Alessio Viti
Forum Admin
Italy
9171 Posts |
|
kirill2785
Junior Member
Israel
332 Posts |
Posted - 10 Dec 2012 : 13:59:59
|
1. you can download a pecific movie's fields into a text file, or a database (using a buggless script), make this file your "master file". 2. each day download that same perticular movie into another file, "check file". 3. compare between the two. 4. if one of the fields is not equal that there was a change on the website.
make this for every script. |
kirill2785 |
|
|
JDommi
Administrator
Germany
4638 Posts |
Posted - 10 Dec 2012 : 15:06:06
|
Well, even that will cause the need of manual checking if there is a difference. Maybe updated info or additional episodes or new episodes. So it would be enough to check the size of the downloaded files where the "master file" size can be saved instead of the whole file. Additionally there must be checked it the site is reachable at that moment. |
In order to achieve what is possible, you have to try the impossible over and over again. Hermann Hesse |
|
|
|
Topic |
|