| Reply | « Previous Thread | Next Thread » |
|
Hey all,
I've been trying to access the iPhone version of the BBC iPlayer on my n95 without much success. I have python installed, and stumbled across this script for changing the browser user agent, which seemed fairly promising, but I can't get it to work (I'm a complete newbie and don't have a clue where to start), anyone got any ideas: http://www.unfed.org/sphpblog/index....y070728-021244 Mike |
|
There is a patch on the net somewhere to turn your S60 into an iPhone phone agent but it needs signing I think.
![]() |
|
Well, don't really want to get into patching the browser if it's something I can't undo. As far as I understand this just sets up a proxy that uses a different user-agent string, which is run via Python on the phone itself.
Thought this might be the place to ask!! |
|
Quote:
![]() |
![]() I found the patch, not sure what you mean by "extract the file and use python to copy/move it". The patch needs signing and may not be undoable. What I wanted to do was just to get this python script that I've already found set up and working, because it would be as simple as if the script's running, I have the iphone user-agent, and if it's not, normal s60 operation resumes. Do you understand what they mean about creating an access point with the details given? Surely that will never connect to the net... Hmm... Please help! |
|
Quote:
You would need to do this manually from the connection settings. But I am not sure if your operator would support those settings and let you connect using it. The best would be to ask your operator if it would support it first. Or may be you could use GPRS or Internet connection provided by the operator too. Best Regards, Croozeus |
|
Join Date: Feb 2008
Posts: 2,542
Location: Bhavnagar, Gujarat, India
gaba88
Offline
Forum Nokia Champion
|
|
|
Quote:
you cant create your access point on your own the access point is provided by the carrier or service provider. Gargi Das- http://gargidas.blogsot.com Forum Nokia Python Wiki Learn Python at http://mobapps.org/PyS60 |
|
Well, thanks for all your replies, after a lot of fiddling about today, I've worked out that the only way I've even remotely got anything to work is to:
a) create a duplicate access point to my usual access point (T-mobile internet) b) change its proxy and ports to 127.0.0.1 and 1234 c) change the settings file to match the actual settings d) start proxy (now using yapn.py!!) using new access e) open browser using new access point This clearly works to a certain extent (user agent is now changed), but 99% of sites I visit throw up a 'timeout' error! What can I do? |
|
Quote:
Timeout error means - the GPRS or data connection did not respond within the timeout period, Check out the a) and b) in your steps. Changing the ports and proxy should be the definite cause. Br, Croozeus |
|
Well, currently using 149.254.201.132:8080 (the same as the T-Mobile access point) in the .conf file, and 127.0.0.1:1234 in the access point, as per the instructions.
Where could I be going wrong? These details are the same as the original access point, which is working! |
|
Hi,
I had a look at the script and I see is mono thread. PC web browsers are multithread, that means that while they download a web page they start downloading the images or associated files. If mobile web browsers are able to handle multiple connections at the same time, that script will produce several timeouts. I did several "proxy" scripts too and I had always to use multiple therads to solve this issues. Jofre |
| jofrepalau |
| View Public Profile |
| Find all posts by jofrepalau |
|
Well, it's working for some people, lol!
Can you share your proxy scripts? I'm only really looking to keep all connection details the same, but just change the user-agent... Please let me know ![]() Mike |
|
Join Date: Feb 2008
Posts: 2,542
Location: Bhavnagar, Gujarat, India
gaba88
Offline
Forum Nokia Champion
|
|
|
Quote:
first of all welcome to the python discussion boards. ![]() ![]() i think your point is really correct may be that is the only reason for getting a time out error. Gargi Das- http://gargidas.blogsot.com Forum Nokia Python Wiki Learn Python at http://mobapps.org/PyS60 |
|
give me some time to get used to Python and I´ll see if these can be ported
|
| jofrepalau |
| View Public Profile |
| Find all posts by jofrepalau |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| UA Profile and Accept headers for S60 3rd Ed. FP 1 Browser | Nokia Ron | General Browsing | 5 | 2009-10-07 21:43 |
| HTTP headers for S60 3rd Ed. Browser | Nokia Ron | General Browsing | 16 | 2009-09-22 15:28 |
| N80 User Agent issues | roy_bhaskar | General Symbian C++ | 1 | 2007-08-24 23:04 |
| Problems in the Browser( iBrCtlInterface) of S60 3rd Fp1 | manasi_d | General Symbian C++ | 5 | 2007-06-27 14:35 |
| a question about the user agent string | jackchang1@gmail.com | Mobile Java General | 3 | 2005-09-19 13:06 |