Thread
:
getting the print version
View Single Post
03-17-2011, 11:42 AM
#
2
Bobus
Junior Member
Posts: 8
Karma: 10
Join Date: Jan 2011
Device: Kindle
I think:
Code:
import re def print_version(self, url): return re.sub(r'([0-9]*)\-.*', r'\g<1>/print', url)
if it's not work, send the right url.
Bobus
View Public Profile
Find More Posts by Bobus
Track Posts by Bobus via RSS