Hello,
I tried it and it works, though if I change the web site from
http://finance.blog.lemonde.fr to http://www. ...something else it doesn't
work.
DO I have to change the '([\S]+)'
in x=re.findall(r"
> Observing the page source i think :
>
> page=urllib.urlopen('http://finance.blog.lemon
Observing the page source i think :
page=urllib.urlopen('http://finance.blog.lemonde.fr').read()
x=re.findall(r"http://s2.lemde.fr/image/2011/02/16/87x0/1480844_7_87fe_bandeau-lycee-electrique.jpg
"
x.extend(y)
x=list(set(x))
for img in x:
image=img.split('.')[-1]
On Thu, Apr 28, 2011 at 6:48 PM, Joel Goldstick wrote:
>
>
> On Wed, Apr 27, 2011 at 11:41 PM, wrote:
>
>> Hello,
>>
>> I'm still quite new at this but I'm trying to get a list of the pictures
>> adress (... .jpg) of a page of a website.
>>
>> I thought of using the import urllib and import re, t
On Wed, Apr 27, 2011 at 11:41 PM, wrote:
> Hello,
>
> I'm still quite new at this but I'm trying to get a list of the pictures
> adress (... .jpg) of a page of a website.
>
> I thought of using the import urllib and import re, trying to fetch the
> website, parse it, and collect the adresses but
On Wed, Apr 27, 2011 at 10:41 PM, wrote:
> Hello,
>
> I'm still quite new at this but I'm trying to get a list of the pictures
> adress (... .jpg) of a page of a website.
>
> I thought of using the import urllib and import re, trying to fetch the
> website, parse it, and collect the adresses but
Hello,
I'm still quite new at this but I'm trying to get a list of the pictures adress
(... .jpg) of a page of a website.
I thought of using the import urllib and import re, trying to fetch the
website, parse it, and collect the adresses but I don't know how to do it...
Can you help me?
Thank