Private GIT

Skip to content
Snippets Groups Projects
Commit cbb18eae authored by azcom's avatar azcom
Browse files

Resolved issue for newzbin provider where no results could be found for...

Resolved issue for newzbin provider where no results could be found for searches with "720p WEB-DL" quality selections
parent c0d99506
No related branches found
No related tags found
No related merge requests found
...@@ -158,14 +158,17 @@ class NewzbinProvider(generic.NZBProvider): ...@@ -158,14 +158,17 @@ class NewzbinProvider(generic.NZBProvider):
def _is_WEBDL(self, attrs): def _is_WEBDL(self, attrs):
# Video Fmt: H.264, 720p # Video Fmt: x264, H.264, 720p
video_fmt = 'Video Fmt' in attrs and ('H.264' in attrs['Video Fmt']) \ video_fmt = 'Video Fmt' in attrs and ('x264' in attrs['Video Fmt'] or 'H.264' in attrs['Video Fmt']) \
and ('720p' in attrs['Video Fmt']) and ('720p' in attrs['Video Fmt'])
# Source: Web-DL
source = 'Source' in attrs and 'Web-dl' in attrs['Source']
# Subtitles: (None) # Subtitles: (None)
subs = 'Subtitles' not in attrs subs = 'Subtitles' not in attrs
return video_fmt and subs return video_fmt and source and subs
def _is_720pBluRay(self, attrs): def _is_720pBluRay(self, attrs):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment