|
|
#1 |
|
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Dec 2012
Device: kindle paperwhite
|
Url Cover
Hi, I want to know if anyone can help me to get a url cover for this page http://www.eluniverso.com.
Thanks |
|
|
|
|
|
#2 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,166
Karma: 1410083
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
|
maybe, this one works for you:
Code:
http://www.eluniverso.com/versiones/v1/_remplazables/m_impresos.jpg |
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14
Karma: 822
Join Date: Nov 2010
Device: sony prs-650
|
external links
Code:
http://interamericansecuritywatch.com/wp-content/uploads/2012/05/El-universo.jpg http://www.pauteya.com/images/portalesUniverso.jpg https://fbcdn-sphotos-c-a.akamaihd.net/hphotos-ak-prn1/562020_10151237633644560_1609830695_n.png |
|
|
|
|
|
#4 |
|
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Dec 2012
Device: kindle paperwhite
|
I find a recipe that uses the image of the internet frontpage of a magazine as cover, I wonder if I could do that with the url above
|
|
|
|
|
|
#5 |
|
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Dec 2012
Device: kindle paperwhite
|
this is the recipe code that I´m talking about:
Code:
def get_cover_url(self):
soup = self.index_to_soup('http://elpais.com/')
for image in soup.findAll('img'):
if image['src'].endswith('elpaisTodayMiddle.jpg'):
sstr = image['src']
return sstr.replace('elpaisTodayMiddle.jpg', 'elpaisToday.jpg')
return None
Last edited by juandp77; 12-03-2012 at 02:32 PM. |
|
|
|
| Advert | |
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| The New Yorker - fixed cover URL | Frescard | Recipes | 0 | 11-12-2012 10:45 PM |
| London Review of Books - fixed cover URL | Frescard | Recipes | 0 | 11-05-2012 08:54 PM |
| recipe problem with space in cover url | forceps | Development | 4 | 08-27-2012 05:32 PM |
| Lost trying to get url for time.com cover | Olger | Recipes | 3 | 02-14-2012 10:04 AM |
| Los Tiempos, Bolivia cover URL | pietvo | Recipes | 1 | 10-18-2011 03:20 PM |