BLANK PAGE when i try Filtering Adsense with abpy

2013-12-22 Thread em rexhepi
I know is my fault i'm no good programmer, I'm a begginer that's why i need your help. I have a python 3.3 project to be finished. I did what i could there is not much help on google about this topic. The project is to load a webpage from any website and filter the ads. I'm using ABPY library

Re: BLANK PAGE when i try Filtering Adsense with abpy

2013-12-22 Thread Chris Angelico
On Mon, Dec 23, 2013 at 4:20 AM, em rexhepi em.rexh...@gmail.com wrote: I have a python 3.3 project to be finished. ... My code: #!/usr/local/bin/python3.1 Your shebang says 3.1, are you sure that's correct? Maybe it's not finding the right interpreter. If this is running as CGI, which it

Re: BLANK PAGE when i try Filtering Adsense with abpy

2013-12-22 Thread Michael Torrie
On 12/22/2013 10:20 AM, em rexhepi wrote: When I use my code it just displays nothing My code: #!/usr/local/bin/python3.1 import cgitb;cgitb.enable() import urllib.request response = urllib.request.build_opener() response.addheaders = [('User-agent', 'Mozilla/5.0')] response =

Re: BLANK PAGE when i try Filtering Adsense with abpy

2013-12-22 Thread Mark Lawrence
On 22/12/2013 17:20, em rexhepi wrote: I know is my fault i'm no good programmer, I'm a begginer that's why i need your help. I have a python 3.3 project to be finished. I did what i could there is not much help on google about this topic. The project is to load a webpage from any website

Re: BLANK PAGE when i try Filtering Adsense with abpy

2013-12-22 Thread MRAB
On 22/12/2013 18:08, Michael Torrie wrote: On 12/22/2013 10:20 AM, em rexhepi wrote: When I use my code it just displays nothing My code: #!/usr/local/bin/python3.1 import cgitb;cgitb.enable() import urllib.request response = urllib.request.build_opener() response.addheaders =

Re: BLANK PAGE when i try Filtering Adsense with abpy

2013-12-22 Thread Terry Reedy
On 12/22/2013 12:20 PM, em rexhepi wrote: I know is my fault i'm no good programmer, I'm a begginer that's why i need your help. I have a python 3.3 project to be finished. I did what i could there is not much help on google about this topic. The project is to load a webpage from any website