![]() |
#1 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() Posts: 62
Karma: 666
Join Date: May 2020
Location: Germany
Device: android smartphone + tablet
|
Metadata plugin: url when redirected?
Hello,
i'm wondering, if there's a chance to get the url of the actual page when redirected: page = browser.open_novisit(url, timeout=timeout).read().strip() soup = BeautifulSoup(page, 'html.parser') actual_url = ??? In the Browser Object i can't see an appropiate method. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,354
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
its not on the browser object its on the response object, the one you get back from open() IIRC geturl()
|
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
URL Checker plugin | Doitsu | Plugins | 20 | 04-18-2021 03:13 PM |
[Metadata Source Plugin] Empty Plugin? (Fake Identifier) | mneimeyer | Plugins | 3 | 11-11-2019 08:07 PM |
Metadata ID - url links don't open in browser | Amalthia | Calibre | 2 | 01-21-2019 04:33 AM |
Regarding using metadata objects in identify method of metadata download plugin api | aprekates | Development | 1 | 07-06-2014 03:35 AM |
Adding Metadata by Google Books and Amazon URL | Billa | Library Management | 3 | 11-06-2013 09:07 AM |