View Single Post
Old 08-28-2019, 11:56 AM   #1009
lairdb
dog ear
lairdb began at the beginning.
 
Posts: 53
Karma: 12
Join Date: Jan 2012
Device: lots
I'm succeeding on several Overdrive, but having trouble on two. These are the two that have/had branchIDs; I removed the branchID values since I didn't see them in the log data, but that results in a different issue.

Snippet (both sites, one after another). Guessology, it seems to have to do with the wrong ilsName -- but that could be a red herring.

Edit: FWIW, my card issuer ilsName entries for these two Overdrives are (respectively) "escondido" and "palo"; the login discovery code seems to be picking the first listed for the subsequent call.

Code:
Accessing library Serra (Escondido) Overdrive 
Get http://serra.overdrive.com/ 
Redirected to https://serra.overdrive.com/ 
new OverDrive site layout detected for Serra (Escondido) Overdrive 
Get https://serra.overdrive.com/account/sign-in?forward=%2F 
window.OverDrive.loginForms: {
    "captcha": {
        "enabled": true,
        "key": "6LecKxATAAAAADxsYuJbaG3rtNIBx2y3Od-QYXDg"
    },
    "features": {
        "emailEnabled": true,
        "facebookEnabled": true,
        "gacEnabled": false
    },
    "forms": [
        {
            "displayName": "Brawley Public Library",
            "ilsName": "brawley",
            "local": {
                "password": {
                    "enabled": true,
                    "key": "PhoneNumberOrPassword",
                    "label": "Phone Number or Password"
                },
                "username": {
                    "enabled": true,
                    "key": "LibraryCard",
                    "label": "Library card number"
                }
            },
            "sortName": "Brawley Public Library",
            "type": "Local"
        },
        {
            "displayName": "Camarena Memorial Library ",
            "ilsName": "camarena",
            "local": {
                "password": {
                    "enabled": false
                },
                "username": {
                    "enabled": true
                }
            },
            "sortName": "Camarena Memorial Library ",
            "type": "Local"
        },
        {
            "displayName": "Carlsbad City Library",
            "ilsName": "carlsbadcity",
            "local": {
                "password": {
                    "enabled": false
                },
                "username": {
                    "enabled": true
                }
            },
            "sortName": "Carlsbad City Library",
            "type": "Local"
        },
        {
            "displayName": "Chula Vista Public Library",
            "ilsName": "chulavista",
            "local": {
                "password": {
                    "enabled": false
                },
                "username": {
                    "enabled": true
                }
            },
            "sortName": "Chula Vista Public Library",
            "type": "Local"
        },
        {
            "displayName": "Coronado Public Library",
            "ilsName": "coronado",
            "local": {
                "password": {
                    "enabled": false
                },
                "username": {
                    "enabled": true
                }
            },
            "sortName": "Coronado Public Library",
            "type": "Local"
        },
        {
            "displayName": "El Centro Public Library",
            "ilsName": "elcentropublic",
            "local": {
                "password": {
                    "enabled": false
                },
                "username": {
                    "enabled": true
                }
            },
            "sortName": "El Centro Public Library",
            "type": "Local"
        },
        {
            "displayName": "Escondido Public Library",
            "ilsName": "escondido",
            "local": {
                "password": {
                    "enabled": false
                },
                "username": {
                    "enabled": true
                }
            },
            "sortName": "Escondido Public Library",
            "type": "Local"
        },
        {
            "displayName": "Imperial County Free Library",
            "ilsName": "imperialcounty",
            "local": {
                "password": {
                    "enabled": true,
                    "key": "PhoneNumberOrPassword",
                    "label": "Phone Number or Password"
                },
                "username": {
                    "enabled": true
                }
            },
            "sortName": "Imperial County Free Library",
            "type": "Local"
        },
        {
            "displayName": "Imperial Public Library",
            "ilsName": "imperialpublic",
            "local": {
                "password": {
                    "enabled": false
                },
                "username": {
                    "enabled": true
                }
            },
            "sortName": "Imperial Public Library",
            "type": "Local"
        },
        {
            "displayName": "National City Public Library",
            "ilsName": "nationalcitypub",
            "local": {
                "password": {
                    "enabled": false
                },
                "username": {
                    "enabled": true
                }
            },
            "sortName": "National City Public Library",
            "type": "Local"
        },
        {
            "displayName": "Oceanside Public Library",
            "ilsName": "oceansidepublic",
            "local": {
                "password": {
                    "enabled": false
                },
                "username": {
                    "enabled": true
                }
            },
            "sortName": "Oceanside Public Library",
            "type": "Local"
        }
    ],
    "ghost": {
        "ilsName": "_ghost"
    },
    "websiteId": 703
} 
Post https://serra.overdrive.com/account/signInOzone?forwardUrl=%2F 
Data username={REMOVED}&password={REMOVED}&authType=Local&ilsName=brawley 
Signing in to Serra (Escondido) Overdrive: : Server response error (Login failed.  You should use a login that works on the Brawley Public Library catalog. If you previously set a secure password, only that password may be used.) 
Traceback (most recent call last):
  File "calibre_plugins.overdrive_link.jobs", line 974, in sign_in
  File "calibre_plugins.overdrive_link.overdrive", line 472, in sign_in
LibraryError: Server response error (Login failed.  You should use a login that works on the Brawley Public Library catalog. If you previously set a secure password, only that password may be used.)
 
Cannot perform search at Serra (Escondido) Overdrive due to sign in failure 
Accessing library PaloAltoOverdrive 
Get http://ncdl.overdrive.com/ 
Redirected to https://ncdl.overdrive.com/ 
new OverDrive site layout detected for PaloAltoOverdrive 
Get https://ncdl.overdrive.com/account/sign-in?forward=%2F 
window.OverDrive.loginForms: {
    "captcha": {
        "enabled": true,
        "key": "6LecKxATAAAAADxsYuJbaG3rtNIBx2y3Od-QYXDg"
    },
    "features": {
        "emailEnabled": true,
        "facebookEnabled": true,
        "gacEnabled": false
    },
    "forms": [
        {
            "displayName": "Alameda Free Library",
            "ilsName": "alamedafree",
            "local": {
                "password": {
                    "enabled": true
                },
                "username": {
                    "enabled": true
                }
            },
            "sortName": "Alameda Free Library",
            "type": "Local"
        },
        {
            "displayName": "Amador County Library",
            "ilsName": "amador",
            "local": {
                "password": {
                    "enabled": false
                },
                "username": {
                    "enabled": true
                }
            },
            "sortName": "Amador County Library",
            "type": "Local"
        },
        {
            "displayName": "Calaveras County Library",
            "ilsName": "calaveras",
            "local": {
                "password": {
                    "enabled": false
                },
                "username": {
                    "enabled": true
                }
            },
            "sortName": "Calaveras County Library",
            "type": "Local"
        },
        {
            "displayName": "Harrison Memorial Library",
            "ilsName": "harrison",
            "local": {
                "password": {
                    "enabled": true
                },
                "username": {
                    "enabled": true
                }
            },
            "sortName": "Harrison Memorial Library",
            "type": "Local"
        },
        {
            "displayName": "Hayward Public Library",
            "ilsName": "hayward",
            "local": {
                "password": {
                    "enabled": false
                },
                "username": {
                    "enabled": true
                }
            },
            "sortName": "Hayward Public Library",
            "type": "Local"
        },
        {
            "displayName": "Lodi Public Library",
            "ilsName": "lodi",
            "local": {
                "password": {
                    "enabled": false
                },
                "username": {
                    "enabled": true
                }
            },
            "sortName": "Lodi Public Library",
            "type": "Local"
        },
        {
            "displayName": "Mariposa County Library",
            "ilsName": "mariposacounty",
            "local": {
                "password": {
                    "enabled": false
                },
                "username": {
                    "enabled": true
                }
            },
            "sortName": "Mariposa County Library",
            "type": "Local"
        },
        {
            "displayName": "Monterey Public Library",
            "ilsName": "monterey",
            "local": {
                "password": {
                    "enabled": false
                },
                "username": {
                    "enabled": true
                }
            },
            "sortName": "Monterey Public Library",
            "type": "Local"
        },
        {
            "displayName": "Mountain View Public Library",
            "ilsName": "mountainview",
            "local": {
                "password": {
                    "enabled": true
                },
                "username": {
                    "enabled": true
                }
            },
            "sortName": "Mountain View Public Library",
            "type": "Local"
        },
        {
            "displayName": "Pacific Grove Public Library",
            "ilsName": "monterey",
            "local": {
                "password": {
                    "enabled": false
                },
                "username": {
                    "enabled": true
                }
            },
            "sortName": "Pacific Grove Public Library",
            "type": "Local"
        },
        {
            "displayName": "City of Palo Alto Public Library",
            "ilsName": "palo",
            "local": {
                "password": {
                    "enabled": false
                },
                "username": {
                    "enabled": true
                }
            },
            "sortName": "Palo Alto Public Library",
            "type": "Local"
        },
        {
            "displayName": "Pleasanton Public Library",
            "ilsName": "pleasanton",
            "local": {
                "password": {
                    "enabled": true
                },
                "username": {
                    "enabled": true
                }
            },
            "sortName": "Pleasanton Public Library",
            "type": "Local"
        },
        {
            "displayName": "San Benito County Free Library",
            "ilsName": "sanbenitoca",
            "local": {
                "password": {
                    "enabled": true
                },
                "username": {
                    "enabled": true
                }
            },
            "sortName": "San Benito County Free Library",
            "type": "Local"
        },
        {
            "displayName": "Santa Clara City Library",
            "ilsName": "santaclara",
            "local": {
                "password": {
                    "enabled": true
                },
                "username": {
                    "enabled": true
                }
            },
            "sortName": "Santa Clara City Library",
            "type": "Local"
        },
        {
            "displayName": "Santa Cruz Public Libraries",
            "ilsName": "santacruz",
            "local": {
                "password": {
                    "enabled": false
                },
                "username": {
                    "enabled": true
                }
            },
            "sortName": "Santa Cruz Public Libraries",
            "type": "Local"
        },
        {
            "displayName": "Sunnyvale Public Library",
            "ilsName": "sunny",
            "local": {
                "password": {
                    "enabled": false
                },
                "username": {
                    "enabled": true
                }
            },
            "sortName": "Sunnyvale Public Library",
            "type": "Local"
        },
        {
            "displayName": "Tolowa Dee-ni' Family Resource Library",
            "ilsName": "tolowa",
            "local": {
                "password": {
                    "enabled": false
                },
                "username": {
                    "enabled": true,
                    "label": "9 + Last four digits of your Enrollment ID Number"
                }
            },
            "sortName": "Tolowa Dee-ni' Family Resource Library",
            "type": "Local"
        },
        {
            "displayName": "Tuolumne County Library",
            "ilsName": "tuolumne",
            "local": {
                "password": {
                    "enabled": true,
                    "key": "PIN",
                    "label": "PIN"
                },
                "username": {
                    "enabled": true,
                    "key": "LibraryCard",
                    "label": "Library Card Number"
                }
            },
            "sortName": "Tuolumne County Library",
            "type": "Local"
        },
        {
            "displayName": "Watsonville Public Library",
            "ilsName": "watsonvillepublic",
            "local": {
                "password": {
                    "enabled": true,
                    "key": "PIN",
                    "label": "PIN"
                },
                "username": {
                    "enabled": true,
                    "key": "LibraryCard",
                    "label": "Library card number"
                }
            },
            "sortName": "Watsonville Public Library",
            "type": "Local"
        }
    ],
    "ghost": {
        "ilsName": "_ghost"
    },
    "websiteId": 52
} 
Post https://ncdl.overdrive.com/account/signInOzone?forwardUrl=%2F 
Data username={REMOVED}&password={REMOVED}&authType=Local&ilsName=alamedafree 
Signing in to PaloAltoOverdrive: : Server response error (Invalid Library Card: 21185004572800.  Not a valid Alameda Free Library card.) 
Traceback (most recent call last):
  File "calibre_plugins.overdrive_link.jobs", line 974, in sign_in
  File "calibre_plugins.overdrive_link.overdrive", line 472, in sign_in
LibraryError: Server response error (Invalid Library Card: 21185004572800.  Not a valid Alameda Free Library card.)
 
Cannot perform search at PaloAltoOverdrive due to sign in failure

Last edited by lairdb; 08-28-2019 at 12:01 PM.
lairdb is offline   Reply With Quote