Quantcast
Channel: help - Forum - FlexGet
Viewing all articles
Browse latest Browse all 837

ERROR Unexpected html content received from `http://trakt.tv/movie/popstar-never-stop-never-stopping-2016` - maybe a login page?

$
0
0

@axd wrote:

I'm getting a bizarre ERROR / FAILED when my script tries to download using the IPTorrents search plugin, using a Trakt list and the plugin "discover".

It looks like the URL for the IPTorrents .torrent entry is being switched to a trakt.com URL. But this is only happening on the accepted entries - the rejected entries still retain their

Here is the error:

2016-07-21 08:25 ERROR entry Movies-search-KT Failed Popstar: Never Stop Never Stopping (2016) (Unexpected html content received from http://trakt.tv/movie/popstar-never-stop-never-stopping-2016 - maybe a login page?)

I've traced it back to this:

2016-07-21 08:25 INFO download Movies-search-KT Downloading: Popstar: Never Stop Never Stopping (2016)
2016-07-21 08:25 DEBUG download Movies-search-KT Downloading url 'http://trakt.tv/movie/popstar-never-stop-never-stopping-2016'
2016-07-21 08:25 DEBUG utils.requests Movies-search-KT Fetching http://trakt.tv/movie/popstar-never-stop-never-stopping-2016

The issue here is that the download URL should be an IPTorrents .torrent file URL, not a Trakt URL. Not really sure how the Trakt URL gets assigned to the entry?

Here are some relevant parts of the log:

2016-07-21 08:24 VERBOSE trakt_list Movies-search-KT Retrieving movies list KT-watchlist
2016-07-21 08:24 DEBUG utils.requests Movies-search-KT Fetching https://api-v2launch.trakt.tv/users/xxxxxx/lists/kt-watchlist/items
2016-07-21 08:24 DEBUG trakt_list Movies-search-KT Skipping 11.22.63 because it is not a movie
2016-07-21 08:24 DEBUG input_cache Movies-search-KT storing to cache trakt_list_61ffb389b45a82e2c66e76e10c3a7365 44 entries
2016-07-21 08:24 DEBUG input_cache Movies-search-KT Storing cache trakt_list_61ffb389b45a82e2c66e76e10c3a7365 to database.
2016-07-21 08:24 VERBOSE discover Movies-search-KT Discovering 44 titles ...

2016-07-21 08:24 DEBUG est_released Movies-search-KT Popstar: Never Stop Never Stopping
2016-07-21 08:24 DEBUG discover Movies-search-KT Popstar: Never Stop Never Stopping has been released at 2016-01-01 00:00:00

2016-07-21 08:24 VERBOSE discover Movies-search-KT Searching for Popstar: Never Stop Never Stopping with plugin iptorrents (19 of 42)
2016-07-21 08:24 DEBUG iptorrents Movies-search-KT searching with url: https://iptorrents.com/t?72=&q=Popstar%3A+Never+Stop+Never+Stopping&qf=
2016-07-21 08:24 DEBUG utils.requests Movies-search-KT Fetching https://iptorrents.com/t?72=&q=Popstar%3A+Never+Stop+Never+Stopping&qf=
2016-07-21 08:24 DEBUG discover Movies-search-KT Discovered 4 entries from iptorrents

2016-07-21 08:25 VERBOSE details Movies-search-KT Produced 194 entries.
2016-07-21 08:25 VERBOSE task Movies-search-KT REJECTED: Popstar Never Stop Never Stopping 2016 HC HDRip XviD AC3-EVO by quality plugin because hdrip xvid ac3 does not match quality requirement []
2016-07-21 08:25 VERBOSE task Movies-search-KT REJECTED: Popstar Never Stop Never Stopping 2016 HC HDRip XviD AC3-iFT by quality plugin because hdrip xvid ac3 does not match quality requirement []
2016-07-21 08:25 VERBOSE task Movies-search-KT REJECTED: Popstar Never Stop Never Stopping 2016 HC HDRip XViD AC3 ETRG by quality plugin because hdrip xvid ac3 does not match quality requirement []

2016-07-21 08:25 DEBUG content_size Movies-search-KT Popstar Never Stop Never Stopping 2016 1080p HC WEBRip x264 AAC2 0-STUTTERSHIT size 2584 MB

2016-07-21 08:25 DEBUG sequence Movies-search-KT Running plugin crossmatch
2016-07-21 08:25 DEBUG input_cache Movies-search-KT cache name: trakt_list_052b85bc840943b9d450e6bb352f468f (has: trakt_list_61ffb389b45a82e2c66e76e10c3a7365)
2016-07-21 08:25 VERBOSE trakt_list Movies-search-KT Retrieving movies list KT-watchlist
2016-07-21 08:25 DEBUG utils.requests Movies-search-KT Fetching https://api-v2launch.trakt.tv/users/xxxxxx/lists/kt-watchlist/items
2016-07-21 08:25 DEBUG trakt_list Movies-search-KT Skipping 11.22.63 because it is not a movie
2016-07-21 08:25 DEBUG input_cache Movies-search-KT storing to cache trakt_list_052b85bc840943b9d450e6bb352f468f 44 entries
2016-07-21 08:25 DEBUG input_cache Movies-search-KT Storing cache trakt_list_052b85bc840943b9d450e6bb352f468f to database.
2016-07-21 08:25 DEBUG imdb_lookup Movies-search-KT lookup for Popstar Never Stop Never Stopping 2016 1080p HC WEBRip x264 AAC2 0-STUTTERSHIT
2016-07-21 08:25 DEBUG imdb_lookup Movies-search-KT movie Popstar: Never Stop Never Stopping age 0 expires in 2 days
2016-07-21 08:25 VERBOSE task Movies-search-KT ACCEPTED: Popstar: Never Stop Never Stopping (2016) by sequence plugin because intersects with Popstar: Never Stop Never Stopping (2016) on field(s) imdb_id

2016-07-21 08:25 DEBUG exists_movie Movies-search-KT -- Start filtering entries ----------------------------------
2016-07-21 08:25 DEBUG exists_movie Movies-search-KT trying to parse entry Popstar: Never Stop Never Stopping (2016)
...
2016-07-21 08:25 DEBUG exists_movie Movies-search-KT -- Finished filtering entries -------------------------------

2016-07-21 08:25 DEBUG urlrewriter Movies-search-KT Checking 3 entries
2016-07-21 08:25 INFO download Movies-search-KT Downloading: Popstar: Never Stop Never Stopping (2016)
2016-07-21 08:25 DEBUG download Movies-search-KT Downloading url 'http://trakt.tv/movie/popstar-never-stop-never-stopping-2016'
2016-07-21 08:25 DEBUG utils.requests Movies-search-KT Fetching http://trakt.tv/movie/popstar-never-stop-never-stopping-2016
2016-07-21 08:25 DEBUG download Movies-search-KT Popstar: Never Stop Never Stopping (2016) field file set to: /Users/xxxxxx/.flexget/temp/tmp_X7Tqo/744447f34d299cea30edcfb29df4d7a8
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 853, in emit
msg = self.format(record)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 726, in format
return fmt.format(record)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/flexget/logger.py", line 162, in format
return logging.Formatter.format(self, record)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 465, in format
record.message = record.getMessage()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 329, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Logged from file download.py, line 352
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/handlers.py", line 76, in emit
if self.shouldRollover(record):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/handlers.py", line 156, in shouldRollover
msg = "%s\n" % self.format(record)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 726, in format
return fmt.format(record)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/flexget/logger.py", line 162, in format
return logging.Formatter.format(self, record)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 465, in format
record.message = record.getMessage()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 329, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Logged from file download.py, line 352
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 853, in emit
msg = self.format(record)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 726, in format
return fmt.format(record)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/flexget/logger.py", line 162, in format
return logging.Formatter.format(self, record)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 465, in format
record.message = record.getMessage()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 329, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Logged from file download.py, line 352
2016-07-21 08:25 DEBUG download Movies-search-KT No filename - setting from url: popstar-never-stop-never-stopping-2016
2016-07-21 08:25 DEBUG download Movies-search-KT Finishing download_entry() with filename popstar-never-stop-never-stopping-2016
2016-07-21 08:25 DEBUG download Movies-search-KT removing temp file /Users/xxxxxx/.flexget/temp/tmp_X7Tqo/744447f34d299cea30edcfb29df4d7a8 from Popstar: Never Stop Never Stopping (2016)
2016-07-21 08:25 DEBUG entry Movies-search-KT Marking entry 'Popstar: Never Stop Never Stopping (2016)' as failed
2016-07-21 08:25 ERROR entry Movies-search-KT Failed Popstar: Never Stop Never Stopping (2016) (Unexpected html content received from http://trakt.tv/movie/popstar-never-stop-never-stopping-2016 - maybe a login page?)
2016-07-21 08:25 DEBUG failed Movies-search-KT Marking Popstar: Never Stop Never Stopping (2016) in failed list. Has failed 16 times.
2016-07-21 08:25 INFO task Movies-search-KT Plugin retry_failed has requested task to be ran again after execution has completed.
2016-07-21 08:25 VERBOSE task Movies-search-KT FAILED: Popstar: Never Stop Never Stopping (2016) by download plugin because unexpected html content received from http://trakt.tv/movie/popstar-never-stop-never-stopping-2016 - maybe a login page?

Here is the failed entries (ACCEPTED but has the track.tv URL instead of IPTorrents .torrent URL):

-- Failed: -----------------------------
title : Popstar: Never Stop Never Stopping (2016)
url : http://trakt.tv/movie/popstar-never-stop-never-stopping-2016
original_url : http://trakt.tv/movie/popstar-never-stop-never-stopping-2016
accepted_by : sequence
content_size : 2584
discovered_from : Popstar: Never Stop Never Stopping
discovered_with : iptorrents
failed_by : download
filename : popstar-never-stop-never-stopping-2016
imdb_actors : {u'nm1672246': u'Jorma Taccone', u'nm3069420': u'Max Jenkins', u'nm0798971': u'Sarah Silverman', u'nm0005218': u'Tim Meadows', u'nm0859821': u'Ahmir-Khalib Thompson', u'nm0118617': u'James Buckley', u'nm1676223': u'Akiva Schaffer', u'nm1676221': u'Andy Samberg', u'nm0000349': u'Joan Cusack', u'nm7266147': u'Evan Fine', u'nm1782299': u'Imogen Poots', u'nm7254628': u'Edgar Blackmon', u'nm0748973': u'Maya Rudolph', u'nm7280341': u'Elliott Smith', u'nm5412083': u'Chris Redd'}
imdb_directors : {u'nm1672246': u'Jorma Taccone', u'nm1676223': u'Akiva Schaffer'}
imdb_genres : [comedy, music]
imdb_id : tt3960412
imdb_languages : [english]
imdb_mpaa_rating : R
imdb_name : Popstar: Never Stop Never Stopping
imdb_original_name: None
imdb_photo : http://ia.media-imdb.com/images/M/MV5BMjMxMzk2ODI4N15BMl5BanBnXkFtZTgwNzgzNzQ5ODE@._V1_UX182_CR0,0,182,268_AL_.jpg
imdb_plot_outline: When his new album fails to sell records, pop/rap superstar conner4real goes into a major tailspin and watches his celebrity high life begin to collapse. He'll try anything to bounce back, anything except reuniting with his old rap group The Style Boyz.
imdb_score : 6.9
imdb_url : http://www.imdb.com/title/tt3960412/
imdb_votes : 9378
imdb_year : 2016
mime-type : text/html
movie_name : Popstar: Never Stop Never Stopping
movie_year : 2016
quality : 1080p webrip h264 aac
reason : Unexpected html content received from http://trakt.tv/movie/popstar-never-stop-never-stopping-2016 - maybe a login page?
search_sort : 6920
task : Movies-search-KT
tmdb_id : 341012
torrent_leeches : 0
torrent_seeds : 3460
trakt_movie_id : 221669
trakt_movie_slug : popstar-never-stop-never-stopping-2016

I can see from the entries of the rejected torrents that the IPTorrents URL is making its way into the entries OK.

Here is the rejected entries:

-- Rejected: ---------------------------
title : Popstar Never Stop Never Stopping 2016 HC HDRip XviD AC3-EVO
url : https://iptorrents.com/download.php/1876161/Popstar.Never.Stop.Never.Stopping.2016.HC.HDRip.XviD.AC3-EVO.torrent?torrent_pass=xxxxxx
original_url : https://iptorrents.com/download.php/1876161/Popstar.Never.Stop.Never.Stopping.2016.HC.HDRip.XviD.AC3-EVO.torrent?torrent_pass=xxxxxx
content_size : 1335
discovered_from : Popstar: Never Stop Never Stopping
discovered_with : iptorrents
2016-07-21 08:25 DEBUG imdb_lookup Movies-search-KT lookup for Popstar Never Stop Never Stopping 2016 HC HDRip XviD AC3-EVO
2016-07-21 08:25 DEBUG imdb_lookup Movies-search-KT movie Popstar: Never Stop Never Stopping age 0 expires in 2 days
imdb_actors : {u'nm1672246': u'Jorma Taccone', u'nm3069420': u'Max Jenkins', u'nm0798971': u'Sarah Silverman', u'nm0005218': u'Tim Meadows', u'nm0859821': u'Ahmir-Khalib Thompson', u'nm0118617': u'James Buckley', u'nm1676223': u'Akiva Schaffer', u'nm1676221': u'Andy Samberg', u'nm0000349': u'Joan Cusack', u'nm7266147': u'Evan Fine', u'nm1782299': u'Imogen Poots', u'nm7254628': u'Edgar Blackmon', u'nm0748973': u'Maya Rudolph', u'nm7280341': u'Elliott Smith', u'nm5412083': u'Chris Redd'}
imdb_directors : {u'nm1672246': u'Jorma Taccone', u'nm1676223': u'Akiva Schaffer'}
imdb_genres : [comedy, music]
imdb_id : tt3960412
imdb_languages : [english]
imdb_mpaa_rating : R
imdb_name : Popstar: Never Stop Never Stopping
imdb_original_name: None
imdb_photo : http://ia.media-imdb.com/images/M/MV5BMjMxMzk2ODI4N15BMl5BanBnXkFtZTgwNzgzNzQ5ODE@._V1_UX182_CR0,0,182,268_AL_.jpg
imdb_plot_outline: When his new album fails to sell records, pop/rap superstar conner4real goes into a major tailspin and watches his celebrity high life begin to collapse. He'll try anything to bounce back, anything except reuniting with his old rap group The Style Boyz.
imdb_score : 6.9
imdb_url : http://www.imdb.com/title/tt3960412/
imdb_votes : 9378
imdb_year : 2016
movie_name : Popstar: Never Stop Never Stopping
movie_year : 2016
quality : hdrip xvid ac3
reason : hdrip xvid ac3 does not match quality requirement []
rejected_by : quality
search_sort : 5436480
task : Movies-search-KT
torrent_leeches : 160
torrent_seeds : 2718160

title : Popstar Never Stop Never Stopping 2016 HC HDRip XviD AC3-iFT
url : https://iptorrents.com/download.php/1877656/Popstar.Never.Stop.Never.Stopping.2016.HC.HDRip.XviD.AC3-iFT.torrent?torrent_pass=xxxxxx
original_url : https://iptorrents.com/download.php/1877656/Popstar.Never.Stop.Never.Stopping.2016.HC.HDRip.XviD.AC3-iFT.torrent?torrent_pass=xxxxxx
content_size : 1363
discovered_from : Popstar: Never Stop Never Stopping
discovered_with : iptorrents
2016-07-21 08:25 DEBUG imdb_lookup Movies-search-KT lookup for Popstar Never Stop Never Stopping 2016 HC HDRip XviD AC3-iFT
2016-07-21 08:25 DEBUG imdb_lookup Movies-search-KT movie Popstar: Never Stop Never Stopping age 0 expires in 2 days
imdb_actors : {u'nm1672246': u'Jorma Taccone', u'nm3069420': u'Max Jenkins', u'nm0798971': u'Sarah Silverman', u'nm0005218': u'Tim Meadows', u'nm0859821': u'Ahmir-Khalib Thompson', u'nm0118617': u'James Buckley', u'nm1676223': u'Akiva Schaffer', u'nm1676221': u'Andy Samberg', u'nm0000349': u'Joan Cusack', u'nm7266147': u'Evan Fine', u'nm1782299': u'Imogen Poots', u'nm7254628': u'Edgar Blackmon', u'nm0748973': u'Maya Rudolph', u'nm7280341': u'Elliott Smith', u'nm5412083': u'Chris Redd'}
imdb_directors : {u'nm1672246': u'Jorma Taccone', u'nm1676223': u'Akiva Schaffer'}
imdb_genres : [comedy, music]
imdb_id : tt3960412
imdb_languages : [english]
imdb_mpaa_rating : R
imdb_name : Popstar: Never Stop Never Stopping
imdb_original_name: None
imdb_photo : http://ia.media-imdb.com/images/M/MV5BMjMxMzk2ODI4N15BMl5BanBnXkFtZTgwNzgzNzQ5ODE@._V1_UX182_CR0,0,182,268_AL_.jpg
imdb_plot_outline: When his new album fails to sell records, pop/rap superstar conner4real goes into a major tailspin and watches his celebrity high life begin to collapse. He'll try anything to bounce back, anything except reuniting with his old rap group The Style Boyz.
imdb_score : 6.9
imdb_url : http://www.imdb.com/title/tt3960412/
imdb_votes : 9378
imdb_year : 2016
movie_name : Popstar: Never Stop Never Stopping
movie_year : 2016
quality : hdrip xvid ac3
reason : hdrip xvid ac3 does not match quality requirement []
rejected_by : quality
search_sort : 26636
task : Movies-search-KT
torrent_leeches : 12
torrent_seeds : 13312

title : Popstar Never Stop Never Stopping 2016 HC HDRip XViD AC3 ETRG
url : https://iptorrents.com/download.php/1876339/Popstar.Never.Stop.Never.Stopping.2016.HC.HDRip.XViD.AC3-ETRG.torrent?torrent_pass=xxxxxx
original_url : https://iptorrents.com/download.php/1876339/Popstar.Never.Stop.Never.Stopping.2016.HC.HDRip.XViD.AC3-ETRG.torrent?torrent_pass=xxxxxx
content_size : 1287
discovered_from : Popstar: Never Stop Never Stopping
discovered_with : iptorrents
2016-07-21 08:25 DEBUG imdb_lookup Movies-search-KT lookup for Popstar Never Stop Never Stopping 2016 HC HDRip XViD AC3 ETRG
2016-07-21 08:25 DEBUG imdb_lookup Movies-search-KT movie Popstar: Never Stop Never Stopping age 0 expires in 2 days
imdb_actors : {u'nm1672246': u'Jorma Taccone', u'nm3069420': u'Max Jenkins', u'nm0798971': u'Sarah Silverman', u'nm0005218': u'Tim Meadows', u'nm0859821': u'Ahmir-Khalib Thompson', u'nm0118617': u'James Buckley', u'nm1676223': u'Akiva Schaffer', u'nm1676221': u'Andy Samberg', u'nm0000349': u'Joan Cusack', u'nm7266147': u'Evan Fine', u'nm1782299': u'Imogen Poots', u'nm7254628': u'Edgar Blackmon', u'nm0748973': u'Maya Rudolph', u'nm7280341': u'Elliott Smith', u'nm5412083': u'Chris Redd'}
imdb_directors : {u'nm1672246': u'Jorma Taccone', u'nm1676223': u'Akiva Schaffer'}
imdb_genres : [comedy, music]
imdb_id : tt3960412
imdb_languages : [english]
imdb_mpaa_rating : R
imdb_name : Popstar: Never Stop Never Stopping
imdb_original_name: None
imdb_photo : http://ia.media-imdb.com/images/M/MV5BMjMxMzk2ODI4N15BMl5BanBnXkFtZTgwNzgzNzQ5ODE@._V1_UX182_CR0,0,182,268_AL_.jpg
imdb_plot_outline: When his new album fails to sell records, pop/rap superstar conner4real goes into a major tailspin and watches his celebrity high life begin to collapse. He'll try anything to bounce back, anything except reuniting with his old rap group The Style Boyz.
imdb_score : 6.9
imdb_url : http://www.imdb.com/title/tt3960412/
imdb_votes : 9378
imdb_year : 2016
movie_name : Popstar: Never Stop Never Stopping
movie_year : 2016
quality : hdrip xvid ac3
reason : hdrip xvid ac3 does not match quality requirement []
rejected_by : quality
search_sort : 21030
task : Movies-search-KT
torrent_leeches : 10
torrent_seeds : 10510

Any assistance would be appreciated. I'm hoping it's just something stupid on my end that I've changed without realizing.

Will post my config in a sec.

Thanks.

Posts: 4

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 837

Trending Articles