GithubHelp home page GithubHelp logo

Comments (8)

mrdotb avatar mrdotb commented on September 26, 2024 1

I'm going to look at this.

from yifysubtitles.

mrdotb avatar mrdotb commented on September 26, 2024 1

Hey, since the yify api status is still in maintenance I change the module a bit to make it work with scraped subtitles link.

from yifysubtitles.

mrdotb avatar mrdotb commented on September 26, 2024

The api is currently in maintenance I'm going to add a test to cover this case.
http://api.yifysubtitles.com/subs/tt1935859

from yifysubtitles.

mrdotb avatar mrdotb commented on September 26, 2024

I add a condition to prevent this error and give the yifi api message to the user.

from yifysubtitles.

StamKaly avatar StamKaly commented on September 26, 2024

Thanks a lot man! This means a lot to me :)

from yifysubtitles.

StamKaly avatar StamKaly commented on September 26, 2024

Now getting:

	let writed = '';
	^^^

SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:374:25)
    at Object.Module._extensions..js (module.js:417:10)
    at Module.load (module.js:344:32)
    at Function.Module._load (module.js:301:12)
    at Module.require (module.js:354:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/a2g.js:1:85)
    at Module._compile (module.js:410:26)
    at Object.Module._extensions..js (module.js:417:10)

from yifysubtitles.

mrdotb avatar mrdotb commented on September 26, 2024

What version of node are you using ? I use a lot of es6 available since node 6. Can you upgrade your node version ? I recommand https://github.com/creationix/nvm for using nodejs and manage versions The latest stable version of node is 7.8.

from yifysubtitles.

StamKaly avatar StamKaly commented on September 26, 2024

Alright works now, was using an older version.

from yifysubtitles.

Related Issues (5)

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.