same31 / addic7ed-api Goto Github PK
View Code? Open in Web Editor NEWAPI to search and download subtitles files from addic7ed.com
License: MIT License
API to search and download subtitles files from addic7ed.com
License: MIT License
I tried to search, however I didn't get any subtitles back, the html returned by addic7ed is an empty string.
Repro code:
let addic7edApi = require('addic7ed-api');
addic7edApi.search("Suits", "09", "06", ['eng'])
.then(function (subtitlesList) {
console.log(subtitlesList);
})
.catch(function(e){
console.log("ERROR: ", e)
});
Which is equivalent to this URI: https://www.addic7ed.com/search.php?search=Suits%2009x06&Submit=Search
If I try this when logged in it works, but not in an incognito window.
I don't have time to look into this for the next three weeks since I'm on holiday otherwise I'm happy to help.
The search page has been moved, check for yourself:
https://www.addic7ed.com/search.php?search=Mayans+MC&Submit=Search
https://www.addic7ed.com/srch.php?search=Mayans+MC&Submit=Search
Greetings,
I can't find any subtitles for 'Heroes Reborn' series using your lib. It seems like there is problem with it since there is 'Heroes Reborn: Dark Matters' series which is found when I'm trying to search it directly on addic7ed.com. Can you fix it somehow?
https://www.addic7ed.com/shows.php can now only be requested while logged in.
getShowTitles()
uses this page and since we're not logged in it now always returns the shows on the bottom of the login page...
Which action should we take?
Hi, i don't know if addic7ed change something recently, but I have this error.
Error when trying to download subtitles.
The error message is long but that's what I think is useful :
StatusCodeError {name: "StatusCodeError", statusCode: 301, message: "301 - {"type":"Buffer","data":[...]
statusMessage: "Moved Permanently"
[...]
options : {
headers: {Referer: "http://www.addic7ed.com/show/2864"}
uri: "http://www.addic7ed.com/updated/8/67281/1"
[...]
in lib/helpers.js
change http to https.
addic7edURL: 'http://www.addic7ed.com',
to
addic7edURL: 'https://www.addic7ed.com',
will recreate with other account
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.