Flexget/Flexget — pull request #161 by Gargauth (2014-01-17 19:39:24+00:00)
Title: Fix for certain TV shows not being discovered.

Are the status code checks and bozo_exception checks still needed? Anyway plugin.internet decorator that I added should take care of most internet related errors, correct?

They mess up with certain shows searches - they are being skipped because they get caught in both bozo and status code checks. (eg. The Blacklist, Sleepy Hollow).

Test scenario:

```yaml
tasks:
KatTest:
discover:
what:
- emit_series:
from_start: yes
from:
- kat:
category: tv
verified: yes

series:
- The Blacklist:
begin: S01E01
quality: 720p hdtv
set: {tvdb_id: '266189'}
```

When ran as

```flexget -c kattest.yaml --debug --test execute```

Output before fix:

```
2014-01-17 20:27 VERBOSE discover KatTest Discovering 1 titles ...
2014-01-17 20:27 DEBUG discover KatTest The Blacklist S01E01 -> No previous run recorded
2014-01-17 20:27 DEBUG discover KatTest interval passed
2014-01-17 20:27 DEBUG est_released KatTest The Blacklist S01E01
2014-01-17 20:27 DEBUG est_movies KatTest Unable to check release for The Blacklist S01E01, tmdb_release field is not defined
2014-01-17 20:27 DEBUG est_series KatTest Querying release estimation for The Blacklist S01E01 ...
2014-01-17 20:27 DEBUG api_tvrage KatTest Fetching tvrage info for The Blacklist
2014-01-17 20:27 DEBUG discover KatTest The Blacklist S01E01 has been released at 2013-09-23 00:00:00
2014-01-17 20:27 VERBOSE discover KatTest Searching for `The Blacklist S01E01` (1 of 1)
2014-01-17 20:27 DEBUG kat KatTest requesting: http://kickass.to/search/the%20blacklist%20s01e01%20verified%3A1/?rss=1&category=tv
2014-01-17 20:27 DEBUG kat KatTest requesting: http://kickass.to/search/the%20blacklist%201x01%20verified%3A1/?rss=1&category=tv
2014-01-17 20:27 DEBUG discover KatTest No results from kat: Search result not 200 (OK), received 404
2014-01-17 20:27 INFO task KatTest Plugin discover has requested task to be ran again after execution has completed.
2014-01-17 20:27 VERBOSE details KatTest Task didn't produce any entries.
```

After applying fix, the output is:

```
2014-01-17 20:31 VERBOSE discover KatTest Discovering 1 titles ...
2014-01-17 20:31 DEBUG discover KatTest The Blacklist S01E01 -> No previous run recorded
2014-01-17 20:31 DEBUG discover KatTest interval passed
2014-01-17 20:31 DEBUG est_released KatTest The Blacklist S01E01
2014-01-17 20:31 DEBUG est_movies KatTest Unable to check release for The Blacklist S01E01, tmdb_release field is not defined
2014-01-17 20:31 DEBUG est_series KatTest Querying release estimation for The Blacklist S01E01 ...
2014-01-17 20:31 DEBUG api_tvrage KatTest Fetching tvrage info for The Blacklist
2014-01-17 20:31 DEBUG discover KatTest The Blacklist S01E01 has been released at 2013-09-23 00:00:00
2014-01-17 20:31 VERBOSE discover KatTest Searching for `The Blacklist S01E01` (1 of 1)
2014-01-17 20:31 DEBUG kat KatTest requesting: http://kickass.to/search/the%20blacklist%20s01e01%20verified%3A1/?rss=1&category=tv
2014-01-17 20:31 DEBUG kat KatTest requesting: http://kickass.to/search/the%20blacklist%201x01%20verified%3A1/?rss=1&category=tv
2014-01-17 20:31 DEBUG discover KatTest Discovered 25 entries from kat
2014-01-17 20:31 VERBOSE details KatTest Produced 25 entries.
```