rebase servers

This commit is contained in:
marco
2020-03-06 20:50:52 +01:00
parent a2c4aeb93b
commit 2ecdf23042
193 changed files with 5798 additions and 509 deletions

4
servers/mediafire.py Normal file → Executable file
View File

@@ -8,9 +8,9 @@ from platformcode import logger
def test_video_exists(page_url):
logger.info("(page_url='%s')" % page_url)
data = httptools.downloadpage(page_url).data
if "Invalid or Deleted File" in data:
if "Invalid or Deleted File" in data or "Well, looks like we" in data:
return False, "[Mediafire] El archivo no existe o ha sido borrado"
elif "File Removed for Violation" in data:
if "File Removed for Violation" in data:
return False, "[Mediafire] Archivo eliminado por infracción"
return True, ""