View Single Post
Old 01-10-2012, 01:00 AM   #12
kiavash
Old Linux User
kiavash began at the beginning.
 
Posts: 36
Karma: 12
Join Date: Jan 2012
Device: NST
Did you find out why? I am having the same issue.

Edit:

Mine got solved this way:
PHP Code:
    def print_version(selfurl):
        print 
url
        
if url.find('/Journal/article.asp?HH_ID=') >= 0:
            return 
self.browser.open_novisit(url).geturl().replace('/Journal/article.asp?HH_ID=''/Journal/Print.asp?Id=')
        
elif  url.find('/News/article.asp?HH_ID=') >= 0:
            return 
self.browser.open_novisit(url).geturl().replace('/News/article.asp?HH_ID=''/Journal/Print.asp?Id=')
        
elif  url.find('/Resources/TechLib.asp?HH_ID=') >= 0:
            return 
self.browser.open_novisit(url).geturl().replace('/Resources/TechLib.asp?HH_ID=''/Resources/PrintRessource.asp?Id='

Last edited by kiavash; 01-10-2012 at 12:16 PM. Reason: Solved mine and posted the solution
kiavash is offline   Reply With Quote