Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def getPremiumUser():
- oInputParameterHandler = cInputParameterHandler()
- sUrl = oInputParameterHandler.getValue('siteUrl')
- oPremiumHandler = cPremiumHandler('uptobox')
- if not oPremiumHandler.Authentificate():
- return False, False
- url2 = 'https://uptobox.com/?op=my_files'
- #req = urllib2.Request(url2, None, headers)
- sHtmlContent = oPremiumHandler.GetHtml(url2)
- cookies = oPremiumHandler.Readcookie('uptobox')
- if 'Dossier' in sUrl:
- showfolder(sHtmlContent, cookies)
- else:
- showlink(sHtmlContent)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement