-
-
Notifications
You must be signed in to change notification settings - Fork 191
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
Unable to fetch the url error when refreshing a watchlist with several pages #739
Comments
Same problem here. |
Can confirm. Work on it when back from vacation. |
I did a quick look at the source code of my watchlist on primevideo.com and it seems that startIndex is now called paginationStartIndex in the url |
Adding this line fixes it for me:
|
Thanks, I works for me too. |
I add the line after q.append('pageSize=20&pageType=browse&pageId=default') q.append('&isCleanSlateActive=1&isDiscoverActive=1&isLivePageActive=1&variant=desktopLinux&actionScheme=default&payloadScheme=default&decorationScheme=web-search-decoration-tournaments-v2&featureScheme=web-search-v4&dynamicFeatures=integration&dynamicFeatures=CLIENT_DECORATION_ENABLE_DAAPI&dynamicFeatures=ENABLE_DRAPER_CONTENT&dynamicFeatures=HorizontalPagination&dynamicFeatures=CleanSlate&dynamicFeatures=EpgContainerPagination&dynamicFeatures=ENABLE_GPCI&dynamicFeatures=SupportsImageTextLinkTextInStandardHero&widgetScheme=web-explorecs-v11&journeyIngressContext=&isRemasterEnabled=0') but same error 2024-05-29 20:00:24.927 T:1364 info : [Amazon VOD] Refresh params: ({'title': 'Serien', 'lazyLoadURL': '/gp/video/mystuff/watchlist/tv/ref=atv_hm_hom_c_9zZ8D2_mys_wl?episodeListSize=9999', 'pos': 5}, ['root', 'Watchlist', 'watchlist', 'tv'], False) |
@mlc42 From the log, you don't have the latest version: the latest is 1.0.7~beta1. |
@cpassuel thank you, but i can´t find a python 3 version 1.0.7 for matrix. |
@mlc42 I don't know if it's the same for the matrix version, but I updated manually my leia version from the git repo as the plugin was not updated automatally. If you're on Libreelec on Pi and you know a bit of linux, here is a script (beware not fully tested but gives you the steps) to update directly from the master branch on git repo
|
thank you, but this version uses python 2. So i´ve to wait for a new version |
It is not necessary to update to beta 1, as there is currently no difference between stable and beta in the code. |
thx @cpassuel Signed-off-by: Sandmann79 <sandmann79@gmx.net>
now the fix works in matrix |
Sorry for sounding a bit stupid but how do I apply the fix? |
I´ve changed source in addon folder storage/.kodi/addons/plugin-amazon-test/resoures/lib/web_api.py. Lines 1444-1452 now lokks like this
|
Thanks for your prompt response @mlc42 - it looks like 1.07 has been released so I'll try updating to that first. Update - installed 1.07 on two NUCs and problem solved. Thanks to @Sandmann79 as always for your efforts! |
Addon used
Account type
System Setup (please provide the following information):
Upload Logs
Describe the bug
I have an error since few days on watchlist that contains several pages, it seems that the first page is ok but there is an error when trying to get the second page. Below an excerpt of the log (I truncated the url displayed in the error message as I don't know it if contains password or sensitive informations)
2024-05-18 20:46:01.278 T:2430595904 NOTICE: [Amazon VOD] Refresh params: ({u'lazyLoadURL': u'/mystuff/watchlist/movie/ref=atv_hm_hom_c_9zZ8D2_mys_wl?episodeListSize=9999', u'title': u'Films'}, [u'root', u'Watchlist', u'watchlist', u'movie'], True)
2024-05-18 20:46:18.831 T:2430595904 ERROR: [Amazon VOD] Error reason: 400 error (NoRetries)
2024-05-18 20:46:18.832 T:2430595904 ERROR: [Amazon VOD] Unable to fetch the url: /gp/video/api/paginateCollection?startIndex=20&paginationTargetId=V2%3D4AEA6u69gYPeuYe-toZwYWdlSWSIcGFnZVR5cGWMY29sbGVjdGlvbklkiHdpZGdldElkjo5zd2lmdElkVmVyc2lvbt7EiolXYXRjaGxpc3SLhGhvbWWMjqoxOjEyT0xTQUFDUE0xQ083IyNNWlFXR1pMVU1WU0VHWUxTTjUyWEdaTE2ND46CVjI%3D&serviceToken=eyJ0eXBlIjoiaHBhZ2UiLCJuYXYiOmZhbHNlLCJzZWMiO
The text was updated successfully, but these errors were encountered: