today I started to test and debug the script for Polish site filmweb.pl as the current script is 1,5 year old and do not work anymore so we don't have any possibility to download info from Polish site. Anyway during debugging and checking occured that the problem is not only with the script and its code (which in fact should be updated due to the changes made on site side) but with the Internal XMM Browser used during the importing phase. Seems like this viewer is recognized by filmweb.pl as IE 6.0 version which is quite old ad therefore filmweb.pl do not let the script enter the destination search page because it delivers only page with information that I should change the version of the viewer to be able to use their site. So my question is what version of viewer/component you use in XMM because wither it's an old one and filmweb recognizes it correctly or their mechanism is not good and they recognize it incorrectly. Please answer because at this point I'm stuck with making changes, until the viewer is allowed to access filmweb.pl contents. And if it really is old one than you might also have problems with other sites if they decide to block it.
I wrote a small script to check the user agent info and according to that it uses MSIE 6 indeed.
Ale, is there a way to send a fake user agent info? I think the is no need to replace the built in browser as nobody cares about the rendered visible page
I do not know what would be the best for all users and scripts but from my perspective to be able to use filmweb.pl contents the following user agent should be suitable
"Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0)"
Release 8.0.4.0 (2 January 2013) --------------------------------------- ->Changed the UserAgent to Http.UserAgent = "Mozilla/5.0 (Windows NT 6.1; rv:12.0) Gecko/20120403211507 Firefox/12.0"