Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IMDB login error #2156

Closed
chewy74 opened this issue Jun 20, 2018 · 3 comments
Closed

IMDB login error #2156

chewy74 opened this issue Jun 20, 2018 · 3 comments

Comments

@chewy74
Copy link

chewy74 commented Jun 20, 2018

Expected behaviour:

IMDB plugin to login with provided credentials and access watchlist

Actual behaviour:

The login fails and asks to verify the password and credentials and try again.

Steps to reproduce:

  • Step 1: ...run task with imdb plug in

Config:

  IMDB:
    imdb_list:
      login: '{? imdb.usr ?}'
      password: '{? imdb.pwd ?}'
      list: watchlist
    accept_all: yes
    seen: 
      fields: [title]
    list_add:
      - movie_list: vic_movies
    priority: 2

Log:


pi@raspberrypi ~ $ flexget -L debug execute --tasks IMDB
2018-06-19 23:59 DEBUG    manager                       Figuring out config load paths
2018-06-19 23:59 DEBUG    manager                       Found config: /home/pi/.flexget/config.yml
2018-06-19 23:59 DEBUG    manager                       Config file /home/pi/.flexget/config.yml selected
2018-06-19 23:59 DEBUG    manager                       sys.defaultencoding: ascii
2018-06-19 23:59 DEBUG    manager                       sys.getfilesystemencoding: UTF-8
2018-06-19 23:59 DEBUG    manager                       flexget detected io encoding: utf-8
2018-06-19 23:59 DEBUG    manager                       os.path.supports_unicode_filenames: False
There is a FlexGet process already running for this config, sending execution there.
2018-06-19 23:59 DEBUG    manager                       Sending command to running FlexGet process: [u'-L', u'debug', u'execute', u'--tasks', u'IMDB']
2018-06-19 23:59 DEBUG    cron_env                      Encoding UTF-8 stored
2018-06-19 23:59 DEBUG    util.simple_persistence                 setting key terminal_encoding value 'UTF-8'
2018-06-19 23:59 DEBUG    task          IMDB            executing IMDB
2018-06-19 23:59 DEBUG    template      IMDB            Merging template global into task IMDB
2018-06-19 23:59 DEBUG    imdb_list     IMDB            fetching items from IMDB
2018-06-19 23:59 DEBUG    imdb_list     IMDB            login credentials found in cache, testing
2018-06-19 23:59 DEBUG    utils.requests IMDB            GETing URL https://www.imdb.com/profile with args () and kwargs {'allow_redirects': True, u'timeout': 30}
2018-06-19 23:59 WARNING  imdb_list     IMDB            Unable to locate the hidden form value 49e6c. Without it, you might not be able to add or remove items. 'NoneType' object has no attribute '__getitem__'
2018-06-19 23:59 DEBUG    imdb_list     IMDB            cache credentials expired
2018-06-19 23:59 DEBUG    imdb_list     IMDB            user credentials not found in cache or outdated, fetching from IMDB
2018-06-19 23:59 DEBUG    utils.requests IMDB            Waiting 3.26 seconds until next request to imdb.com
2018-06-19 23:59 DEBUG    utils.requests IMDB            GETing URL https://www.imdb.com with args () and kwargs {'allow_redirects': True, u'timeout': 30}
2018-06-19 23:59 VERBOSE  utils.requests IMDB            Waiting 4.68 seconds until next request to imdb.com
2018-06-19 23:59 DEBUG    utils.requests IMDB            GETing URL https://www.imdb.com/ap/signin?openid.return_to=https%3A%2F%2Fwww.imdb.com%2Fap-signin-handler&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.assoc_handle=imdb_mobile_us&openid.mode=checkid_setup&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0 with args () and kwargs {'allow_redirects': True, u'timeout': 30}
2018-06-20 00:00 DEBUG    chardet.charsetprober IMDB            utf-8  confidence = 0.505
2018-06-20 00:00 DEBUG    chardet.charsetprober IMDB            SHIFT_JIS Japanese confidence = 0.01
2018-06-20 00:00 DEBUG    chardet.charsetprober IMDB            EUC-JP Japanese confidence = 0.01
2018-06-20 00:00 DEBUG    chardet.charsetprober IMDB            GB2312 Chinese confidence = 0.01
2018-06-20 00:00 DEBUG    chardet.charsetprober IMDB            EUC-KR Korean confidence = 0.01
2018-06-20 00:00 DEBUG    chardet.charsetprober IMDB            CP949 Korean confidence = 0.01
2018-06-20 00:00 DEBUG    chardet.charsetprober IMDB            Big5 Chinese confidence = 0.01
2018-06-20 00:00 DEBUG    chardet.charsetprober IMDB            EUC-TW Taiwan confidence = 0.01
2018-06-20 00:00 DEBUG    chardet.charsetprober IMDB            windows-1251 Russian confidence = 0.01
2018-06-20 00:00 DEBUG    chardet.charsetprober IMDB            KOI8-R Russian confidence = 0.01
2018-06-20 00:00 DEBUG    chardet.charsetprober IMDB            ISO-8859-5 Russian confidence = 0.01
2018-06-20 00:00 DEBUG    chardet.charsetprober IMDB            MacCyrillic Russian confidence = 0.01
2018-06-20 00:00 DEBUG    chardet.charsetprober IMDB            IBM866 Russian confidence = 0.01
2018-06-20 00:00 DEBUG    chardet.charsetprober IMDB            IBM855 Russian confidence = 0.01
2018-06-20 00:00 DEBUG    chardet.charsetprober IMDB            ISO-8859-7 Greek confidence = 0.01
2018-06-20 00:00 DEBUG    chardet.charsetprober IMDB            windows-1253 Greek confidence = 0.01
2018-06-20 00:00 DEBUG    chardet.charsetprober IMDB            ISO-8859-5 Bulgairan confidence = 0.01
2018-06-20 00:00 DEBUG    chardet.charsetprober IMDB            windows-1251 Bulgarian confidence = 0.01
2018-06-20 00:00 DEBUG    chardet.charsetprober IMDB            TIS-620 Thai confidence = 0.0
2018-06-20 00:00 DEBUG    chardet.charsetprober IMDB            ISO-8859-9 Turkish confidence = 0.518528824314
2018-06-20 00:00 DEBUG    chardet.charsetprober IMDB            windows-1255 Hebrew confidence = 0.0
2018-06-20 00:00 DEBUG    chardet.charsetprober IMDB            windows-1255 Hebrew confidence = 0.01
2018-06-20 00:00 DEBUG    chardet.charsetprober IMDB            windows-1255 Hebrew confidence = 0.01
2018-06-20 00:00 DEBUG    imdb_list     IMDB            email=*********************, password=*************
2018-06-20 00:00 DEBUG    utils.requests IMDB            Waiting 2.07 seconds until next request to imdb.com
2018-06-20 00:00 DEBUG    utils.requests IMDB            POSTing URL https://www.imdb.com/ap/signin with args () and kwargs {'json': None, 'data': {u'password': u'*************', u'pageId': u'ape:aW1kYl9tb2JpbGVfdXM=', u'openid.return_to': u'ape:aHR0cHM6Ly93d3cuaW1kYi5jb20vYXAtc2lnbmluLWhhbmRsZXI=', u'openid.ns': u'ape:aHR0cDovL3NwZWNzLm9wZW5pZC5uZXQvYXV0aC8yLjA=', u'prevRID': u'ape:WU5OQlFWWVFSVkdNM0tGRzlTSDk=', u'openid.mode': u'ape:Y2hlY2tpZF9zZXR1cA==', u'email': u'*********************', u'appActionToken': u'5AbRWdFHtuCJYeJZ20wAs7ldLt8j3D', u'openid.identity': u'ape:aHR0cDovL3NwZWNzLm9wZW5pZC5uZXQvYXV0aC8yLjAvaWRlbnRpZmllcl9zZWxlY3Q=', u'openid.assoc_handle': u'ape:aW1kYl9tb2JpbGVfdXM=', u'openid.claimed_id': u'ape:aHR0cDovL3NwZWNzLm9wZW5pZC5uZXQvYXV0aC8yLjAvaWRlbnRpZmllcl9zZWxlY3Q=', u'showPasswordChecked': u'true', u'appAction': u'SIGNIN'}, u'timeout': 30}
2018-06-20 00:00 VERBOSE  utils.requests IMDB            Waiting 4.84 seconds until next request to imdb.com
2018-06-20 00:00 DEBUG    utils.requests IMDB            GETing URL https://www.imdb.com/profile with args () and kwargs {'allow_redirects': True, u'timeout': 30}
2018-06-20 00:00 WARNING  imdb_list     IMDB            Unable to locate the hidden form value 49e6c. Without it, you might not be able to add or remove items. 'NoneType' object has no attribute '__getitem__'
2018-06-20 00:00 CRITICAL plugin        IMDB            Login to IMDB failed. Check your credentials.
2018-06-20 00:00 WARNING  task          IMDB            Aborting task (plugin: imdb_list)
2018-06-20 00:00 DEBUG    notify_entry  IMDB            sending abort notification
2018-06-20 00:00 DEBUG    notify        IMDB            Sending a notification to `pushbullet`
2018-06-20 00:00 DEBUG    utils.requests IMDB            POSTing URL https://api.pushbullet.com/v2/pushes with args () and kwargs {'headers': {u'Content-Type': u'application/json', u'Accept': u'application/json', u'Authorization': 'Basic xxxxx$xxxxxxxxxxx', u'User-Agent': u'Flexget'}, 'json': {u'body': u'Reason: Login to IMDB failed. Check your credentials.', u'type': u'note', u'title': u'Task IMDB has aborted!'}, 'data': None, u'timeout': 30}
2018-06-20 00:00 DEBUG    pushbullet    IMDB            Pushbullet notification sent. Database operations remaining until next reset: 16347. Next reset at: 2018-06-20 00:45:58
2018-06-20 00:00 VERBOSE  notify        IMDB            Successfully sent a notification to `pushbullet`
pi@raspberrypi ~ $

Additional information:

  • FlexGet version: 2.13.23
  • Python version: 2.7.13
  • Installation method: pip
  • Using daemon (yes/no): yes
  • OS and version: Raspberry Pi stretch
  • Link to crash log:
@paranoidi
Copy link
Member

Confirmed

@cvium
Copy link
Contributor

cvium commented Jun 20, 2018

It works for me...

@cvium cvium closed this as completed in 9e24889 Jun 20, 2018
@cvium
Copy link
Contributor

cvium commented Jun 20, 2018

Problem was that the expired cookies weren't cleared from the session.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants