diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-07-05 16:54:20 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-07-05 16:54:20 +0200 |
commit | 93592862b520a862c01f80c019e5c4bc43746c19 (patch) | |
tree | 1cb7f4d13308fbdac0d8bb725c0383a6ef3ebe58 /module/plugins/hoster/UploadheroCom.py | |
parent | [SimpleCrypter] Better inline docs + support for offline & temp.offline check (diff) | |
download | pyload-93592862b520a862c01f80c019e5c4bc43746c19.tar.xz |
[SimpleHoster] Better inline docs + changed "FILE_OFFLINE_PATTERN" to "OFFLINE_PATTERN"
Diffstat (limited to 'module/plugins/hoster/UploadheroCom.py')
-rw-r--r-- | module/plugins/hoster/UploadheroCom.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/UploadheroCom.py b/module/plugins/hoster/UploadheroCom.py index 6ee3dbeba..11536028a 100644 --- a/module/plugins/hoster/UploadheroCom.py +++ b/module/plugins/hoster/UploadheroCom.py @@ -36,7 +36,7 @@ class UploadheroCom(SimpleHoster): SH_COOKIES = [("http://uploadhero.co", "lang", "en")] FILE_NAME_PATTERN = r'<div class="nom_de_fichier">(?P<N>.*?)</div>' FILE_SIZE_PATTERN = r'Taille du fichier : </span><strong>(?P<S>.*?)</strong>' - FILE_OFFLINE_PATTERN = r'<p class="titre_dl_2">|<div class="raison"><strong>Le lien du fichier ci-dessus n\'existe plus.' + OFFLINE_PATTERN = r'<p class="titre_dl_2">|<div class="raison"><strong>Le lien du fichier ci-dessus n\'existe plus.' DOWNLOAD_URL_PATTERN = r'<a href="([^"]+)" id="downloadnow"' |