raiseResolverError("The PutLocker site could not be reached.")
raiseTechnicalError("The PutLocker site could not be reached.")
try:
try:
browser.select_form(nr=0)
browser.select_form(nr=0)
@ -42,6 +42,7 @@ class PutlockerTask(Task):
matches=re.search("playlist: '([^']+)'",page)
matches=re.search("playlist: '([^']+)'",page)
ifmatchesisNone:
ifmatchesisNone:
self.state="failed"
raiseResolverError("No playlist was found on the given URL; the PutLocker server for this file may be in maintenance mode, or the given URL may not be a video file. The PutLocker resolver currently only supports video links.")
raiseResolverError("No playlist was found on the given URL; the PutLocker server for this file may be in maintenance mode, or the given URL may not be a video file. The PutLocker resolver currently only supports video links.")
raiseResolverError("The Sockshare site could not be reached.")
raiseTechnicalError("The Sockshare site could not be reached.")
try:
try:
browser.select_form(nr=0)
browser.select_form(nr=0)
@ -42,6 +42,7 @@ class SockshareTask(Task):
matches=re.search("playlist: '([^']+)'",page)
matches=re.search("playlist: '([^']+)'",page)
ifmatchesisNone:
ifmatchesisNone:
self.state="failed"
raiseResolverError("No playlist was found on the given URL; the Sockshare server for this file may be in maintenance mode, or the given URL may not be a video file. The Sockshare resolver currently only supports video links.")
raiseResolverError("No playlist was found on the given URL; the Sockshare server for this file may be in maintenance mode, or the given URL may not be a video file. The Sockshare resolver currently only supports video links.")