plugin.video.netflix icon indicating copy to clipboard operation
plugin.video.netflix copied to clipboard

WebsiteParsingError('E-mail field not found')

Open noahhaon opened this issue 6 years ago • 9 comments

Bug report

Your Environment

  • Netflix add-on version: 1.11.0 NF Authetication Key tool v1.0.2.0
  • Operating system version/name: LibreELEC (official): 9.2.6 (RPi4.arm)
  • Device model: RPi4

Used Operating system:

  • [ ] Android
  • [ ] iOS
  • [ ] Linux
  • [ ] OSX
  • [x] Raspberry-Pi
  • [ ] Windows

Describe the bug

Hi, I've tried with a few different NFAuthentication.key files now. I am able to login and view netflix fine without warnings on a windows/chrome setup on the same network. After entering the proper PIN, I am prompted for a password and I enter the password for my Netflix account. Then I am presented with the error below:

E-mail field not found

I am fairly technical and would be happy to help with debugging if you need more information. I searched the issues and googled a bit, but found no reference to this error. Note that I am logging in from Europe.

Expected behavior

Able to authenticate using the Authentication Key and Netflix password

Actual behavior

Authentication Key and Password are entered, but I am presented with an error.

Steps to reproduce the behavior

  1. Create NFAuthentication.key
  2. Start kodi plugin at choose Authentication Key option
  3. Load Authentication Key and enter correct PIN when prompted
  4. Observe prompt for password entry, and enter Netflix account password.
  5. Error is displayed

Possible fix

Debug log

The debug log can be found from this link:

https://pastebin.com/czam32DU

Additional context or screenshots (if appropriate)

Installation

  • [ ] I'm using other Netflix Repo
  • [ ] I'm using a different source

Other information

Screenshots

noahhaon avatar Dec 05 '20 11:12 noahhaon

Hi - this is resolved, I found the latest version of NFAuthenticationKey_Windows (v1.1.0.0), generated a new NFAuthenticationKey and it worked. I'll close the issue and hope this helps someone else who encounters this error.

noahhaon avatar Dec 05 '20 12:12 noahhaon

Experiencing the same issue but on Windows 11.

coadr93 avatar Feb 19 '24 12:02 coadr93

Experiencing the same issue but on FireTV 4K android.

leone007 avatar Feb 25 '24 13:02 leone007

Hi, I am experienced the same problem on a Sony Bravia Android TV

chronolz avatar Feb 26 '24 02:02 chronolz

You can fix this temporarily by the fix in this issue https://github.com/CastagnaIT/plugin.video.netflix/issues/1674

Connect to your Kodi server using ssh Go to ~/.kodi/addons/plugin.video.netflix/resources/lib/services/nfsession/session/access.py Edit the file (you can use gedit, nano, vi or the editor you have on your server) Change the line 127 to: email = '[email protected]' Save the file and exit the editor Remove the content of ~/.kodi/addons/plugin.video.netflix/resources/lib/services/nfsession/session/pycache/ Restart your kodi instance Try to login again on netflix add-on using NFAuthenticationKey

leone007 avatar Feb 26 '24 09:02 leone007

Hé, rájöttem, hol vannak a fájlok... … 2024. február 26., hétfő, 05:49 Farooq Rehman @.> írta: Köszönöm a gyors választ. Sony Android TV-n vagyok. Megpróbálom kitalálni, hogy a kodi hol tartja ezeket a fájlokat. Ha azonban már ismeri a helyszínt, az nagy segítség lenne! Köszönjük szépen! 2024. február 26-án, hétfőn, 01:11-kor leone007 @.> írta: > Ideiglenesen kijavíthatja ezt a probléma javításával: #1674 > < #1674 > > > Csatlakozzon Kodi-szerver ssh használatával > Ugrás a következőre: ~/.kodi/addons/plugin.video.netflix/resources/lib/services/nfsession/session/access.py > Szerkessze a fájlt (használhatja a gedit, nano, vi vagy a szerkesztőt > Módosítsa a 127-es sort a következőre: > email = @.' > Mentse el a fájlt, és lépjen ki a szerkesztőből > Távolítsa el a > ~/.kodi/addons/ tartalmát plugin.video.netflix/resources/lib/services/nfsession/session/pycache/ > Indítsa újra a kodi példányt > Próbáljon meg újra bejelentkezni a netflix-bővítménybe az NFAuthenticationKey használatával > > — > Válaszoljon közvetlenül erre az e-mailre, tekintse meg a GitHubon > < #967 (megjegyzés) >, > vagy leiratkozás > < https://github.com/notifications/unsubscribe-auth/AC5DWS3SLYMGPQY7YB566CDYVRGTNAVCNFSM4UOPJNWKU5DIOJSWCZC7NNSXTN2JONZXKZKZKDN5Q5Q2DRUZLOGM >3. > Ezt azért kapod, mert hozzászóltál.Üzenetazonosító: > @.> >

hi can you tell me where you found the files on your android tv?

papptamas avatar Feb 27 '24 14:02 papptamas

hi can you tell me where you found the files on your android tv?

papptamas avatar Feb 27 '24 14:02 papptamas

Dear all, Thank you for all your help. I was able to get the addon working. I found the files "main storage"\Android\data\org.xbmc.kodi\files.kodi\addons\plugin.video.netflix\resources\lib\services\nfsessions\sessions\

then i modified access.py line 127 from 'email = email_match.group(1).strip() if email_match else None' to 'email = "[email protected]" '

I also made sure that in access.py line 231 is country_id = react_context['models']['signupContext']['data']['geo']['requestCountry']['id'] instead of country_id = react_context['models']['loginContext']['data']['geo']['requestCountry']['id']

like wise line 261 is country_id = react_context['models']['signupContext']['data']['geo']['requestCountry']['id'] instead of country_id = react_context['models']['loginContext']['data']['geo']['requestCountry']['id']

then i cleared my cache as leone007 indicated

and was able to login to netflix using the NFAuthenticationKey method

again thank you everyone for your help

chronolz avatar Feb 27 '24 19:02 chronolz

chronolz thanks for the help

chronolz @.***> ezt írta (időpont: 2024. febr. 27., K 20:59):

Dear all, Thank you for all your help. I was able to get the addon working. I found the files "main storage"\Android\data\org.xbmc.kodi\files.kodi\addons\plugin.video.netflix\resources\lib\services\nfsessions\sessions\

then i modified access.py line 127 from 'email = email_match.group(1).strip() if email_match else None' to 'email = @.***" '

I also made sure that in access.py line 231 is country_id = react_context['models']['signupContext']['data']['geo']['requestCountry']['id'] instead of country_id = react_context['models']['loginContext']['data']['geo']['requestCountry']['id']

like wise line 261 is country_id = react_context['models']['signupContext']['data']['geo']['requestCountry']['id'] instead of country_id = react_context['models']['loginContext']['data']['geo']['requestCountry']['id']

then i cleared my cache as leone007 indicated

and was able to login to netflix using the NFAuthenticationKey method

again thank you everyone for your help

— Reply to this email directly, view it on GitHub https://github.com/CastagnaIT/plugin.video.netflix/issues/967#issuecomment-1967495133, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEWFBSDT47BDURL5PDAWV5LYVY3KZAVCNFSM4UOPJNWKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOJWG42DSNJRGMZQ . You are receiving this because you commented.Message ID: @.***>

papptamas avatar Feb 29 '24 13:02 papptamas