Op vrijdag 21 september 2012 15:23:14 UTC+2 schreef Joel Goldstick het volgende:
> On Fri, Sep 21, 2012 at 8:57 AM, BobAalsma wrote:
> 
> > I'd like to write a programme that will be offered as a web service 
> > (Django), in which the user will point to a specific URL and the programme 
> > will be used to read the text of that URL.
> 
> >
> 
> > This text can be behind a username/password, but for several reasons, I 
> > don't want to know those.
> 
> >
> 
> > So I would like to set up a situation where the user logs in (if/when 
> > appropriate), points out the URL to my programme and my programme would 
> > then be able to read that particular text.
> 
> >
> 
> > I'm aware this may sound fishy. It should not be: I want the user to be 
> > fully aware and in control of this process.
> 
> >
> 
> > Any thoughts on how to approach this?
> 
> 
> 
> There are several python modules to get web pages.  urllib, urllib2
> 
> and another called requests.
> 
> (http://kennethreitz.com/requests-python-http-module.html)  Check
> 
> those out
> 
> >
> 
> > Best regards,
> 
> > Bob
> 
> > --
> 
> > http://mail.python.org/mailman/listinfo/python-list
> 
> 
> 
> 
> 
> 
> 
> -- 
> 
> Joel Goldstick

Thanks, Joel, yes, but as far as I'm aware these would all require the Python 
programme to have the user's username and password (or "credentials"), which I 
wanted to avoid.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to