Giter Club home page Giter Club logo

Comments (16)

Shasdoww avatar Shasdoww commented on August 22, 2024 1

@Shasdoww @jamesharding @ChenyqThu which language are you all learning?

I'm doing Spanish but this is on an old alt account of mine.

from duolingo-hack.

jamesharding avatar jamesharding commented on August 22, 2024

@Shasdoww I see that you managed to get it working for you without making any changes to your repo. How did you manage to get it working? I am having the same issue.

from duolingo-hack.

ChenyqThu avatar ChenyqThu commented on August 22, 2024

Me too, but my errors look like below:
file:///home/runner/work/duolingo/duolingo/index.js:68
skillId: xpGains.find(xpGain => xpGain.skillId).skillId,
^

TypeError: Cannot read properties of undefined (reading 'find')
at file:///home/runner/work/duolingo/duolingo/index.js:68:24
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Node.js v18.18.2
Error: Process completed with exit code 1.

from duolingo-hack.

rfoel avatar rfoel commented on August 22, 2024

xpGains is something that is fetched here, so it's probably the language you're learning/your account that does not have it. That array of ids is used here for a skillId, which is required for the API to work.
You could probably check your network request when you start a new lesson to see how it's done. I've seen this error before with other people but I was never able to replicate it.

from duolingo-hack.

rfoel avatar rfoel commented on August 22, 2024

@Shasdoww @jamesharding @ChenyqThu which language are you all learning?

from duolingo-hack.

jamesharding avatar jamesharding commented on August 22, 2024

I'm taking the Brazilian Portuguese course! I can see that the skiiId API responses are null.

from duolingo-hack.

rfoel avatar rfoel commented on August 22, 2024

@jamesharding I just started a Portuguese course and I can see already see xpGains with one skillId in it. I just did the initial lesson. Have you completed any lessons yet?

from duolingo-hack.

jamesharding avatar jamesharding commented on August 22, 2024

I have! I'm 1050 days into the course :) I wonder if there is some A/B testing going on on their end to phase out that lesson structure?

from duolingo-hack.

rfoel avatar rfoel commented on August 22, 2024

@jamesharding it can be anything really. You can create a custom script following every step your account does on the web, that's how I came up with the current script. Basically there's a http call that fetches a lesson and another one that completes a lesson. In order to fetch a lesson I do some data fetching before, but you should be able to reproduce.

from duolingo-hack.

rfoel avatar rfoel commented on August 22, 2024

That can be a reason. Older accounts might have different payloads.

from duolingo-hack.

0juni avatar 0juni commented on August 22, 2024

Does this really work? Or is it just a scam
I just see the links https://zombie.duolingo.com and https://brb.duolingo.com in the console

from duolingo-hack.

rfoel avatar rfoel commented on August 22, 2024

@0juni these are subdomains from duolingo.com

from duolingo-hack.

0juni avatar 0juni commented on August 22, 2024

oh ok

from duolingo-hack.

0juni avatar 0juni commented on August 22, 2024

It'd be helpful if you made a tutorial video

from duolingo-hack.

Aziz12341234 avatar Aziz12341234 commented on August 22, 2024

I got the same problem

from duolingo-hack.

Aziz12341234 avatar Aziz12341234 commented on August 22, 2024

Does yours work now? how did you fix it? @jamesharding @Shasdoww @0juni

from duolingo-hack.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.