Comments (8)
I'm going to look at this.
from yifysubtitles.
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.
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.
I add a condition to prevent this error and give the yifi api message to the user.
from yifysubtitles.
Thanks a lot man! This means a lot to me :)
from yifysubtitles.
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.
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.
Alright works now, was using an older version.
from yifysubtitles.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yifysubtitles.