def sendToJDownloader(self, sMediaUrl=False): from resources.lib.handler.jdownloaderHandler import cJDownloaderHandler params = ParameterHandler() if not sMediaUrl: sMediaUrl = params.getValue('sMediaUrl') if self.dialog: self.dialog.close() logger.info('call send to JDownloader: ' + sMediaUrl) cJDownloaderHandler().sendToJDownloader(sMediaUrl)
def sendToJDownloader(self, sMediaUrl = False): from resources.lib.handler.jdownloaderHandler import cJDownloaderHandler params = ParameterHandler() if not sMediaUrl: sMediaUrl = params.getValue('sMediaUrl') sFileName = params.getValue('sFileName') if self.dialog: self.dialog.close() logger.info('call send to JDownloader: ' + sMediaUrl) cJDownloaderHandler().sendToJDownloader(sMediaUrl)
def sendToJDownloader(self, sMediaUrl = False): params = ParameterHandler() sHosterIdentifier = params.getValue('sHosterIdentifier') if not sMediaUrl: sMediaUrl = params.getValue('sMediaUrl') sFileName = params.getValue('sFileName') if self.dialog: self.dialog.close() logger.info('call send to JDownloader: ' + sMediaUrl) cJDownloaderHandler().sendToJDownloader(sMediaUrl)
def sendToJDownloader(self, sMediaUrl=False): from resources.lib.handler.jdownloaderHandler import cJDownloaderHandler params = ParameterHandler() sHosterIdentifier = params.getValue("sHosterIdentifier") if not sMediaUrl: sMediaUrl = params.getValue("sMediaUrl") sFileName = params.getValue("sFileName") if self.dialog: self.dialog.close() logger.info("call send to JDownloader: " + sMediaUrl) cJDownloaderHandler().sendToJDownloader(sMediaUrl)
def sendToJDownloader(self): oInputParameterHandler = cInputParameterHandler() sMediaUrl = oInputParameterHandler.getValue('sMediaUrl') bGetRedirectUrl = oInputParameterHandler.getValue('bGetRedirectUrl') if (bGetRedirectUrl == 'True'): sMediaUrl = self.__getRedirectUrl(sMediaUrl) logger.info('call send to JDownloader: ' + sMediaUrl) cJDownloaderHandler().sendToJDownloader(sMediaUrl)
def sendToJDownloader(self): oGui = cGui() oInputParameterHandler = cInputParameterHandler() sHosterIdentifier = oInputParameterHandler.getValue("sHosterIdentifier") sMediaUrl = oInputParameterHandler.getValue("sMediaUrl") bGetRedirectUrl = oInputParameterHandler.getValue("bGetRedirectUrl") sFileName = oInputParameterHandler.getValue("sFileName") if bGetRedirectUrl == "True": sMediaUrl = self.__getRedirectUrl(sMediaUrl) logger.info("call send to JDownloader: " + sMediaUrl) cJDownloaderHandler().sendToJDownloader(sMediaUrl)
def sendToJDownloader(self): oGui = cGui() oInputParameterHandler = cInputParameterHandler() sHosterIdentifier = oInputParameterHandler.getValue('sHosterIdentifier') sMediaUrl = oInputParameterHandler.getValue('sMediaUrl') bGetRedirectUrl = oInputParameterHandler.getValue('bGetRedirectUrl') sFileName = oInputParameterHandler.getValue('sFileName') if (bGetRedirectUrl == 'True'): sMediaUrl = self.__getRedirectUrl(sMediaUrl) logger.info('call send to JDownloader: ' + sMediaUrl) cJDownloaderHandler().sendToJDownloader(sMediaUrl)
def sendToJDownloader(self): oGui = cGui() oInputParameterHandler = cInputParameterHandler() sHosterIdentifier = oInputParameterHandler.getValue( 'sHosterIdentifier') sMediaUrl = oInputParameterHandler.getValue('sMediaUrl') bGetRedirectUrl = oInputParameterHandler.getValue('bGetRedirectUrl') sFileName = oInputParameterHandler.getValue('sFileName') if (bGetRedirectUrl == 'True'): sMediaUrl = self.__getRedirectUrl(sMediaUrl) logger.info('call send to JDownloader: ' + sMediaUrl) cJDownloaderHandler().sendToJDownloader(sMediaUrl)
def sendToJDownbloader(self): oGui = cGui() oInputParameterHandler = cInputParameterHandler() sHosterIdentifier = oInputParameterHandler.getValue('sHosterIdentifier') sMediaUrl = oInputParameterHandler.getValue('sMediaUrl') bGetRedirectUrl = oInputParameterHandler.getValue('bGetRedirectUrl') sFileName = oInputParameterHandler.getValue('sFileName') if (bGetRedirectUrl == 'True'): sMediaUrl = self.__getRedirectUrl(sMediaUrl) oHoster = cHosterHandler().getHoster(sHosterIdentifier) oHoster.setFileName(sFileName) oHoster.setUrl(sMediaUrl) sMediaUrl = oHoster.getUrl() cConfig().log("Telechargement jdownloader " + sMediaUrl) cJDownloaderHandler().sendToJDownloader(sMediaUrl)