Coder Social home page Coder Social logo

addic7ed-api's People

Contributors

amoinier avatar assafmo avatar bennieboj avatar dependabot[bot] avatar same31 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

addic7ed-api's Issues

Search functionality is broken

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.

Can't find subtitles for 'Heroes Reborn' series

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?

Shows page broken since now login is required

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?

  • Implement a login (hard due to recaptcha)
  • Remove the functionality since at this moment it's not functioning as expected.
    Edit:
  • Never mind, I found another way to the same data: the main page has a dropdown with all shows, I'll just parse that ;)

Error using download : StatusCodeError 301 - Moved Permanently

  • Electron Version:
    • 4.0.0
  • Operating System:
    • MacOS 10.14.3

Hi, i don't know if addic7ed change something recently, but I have this error.

Actual behavior

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"
[...]

Temporary fix

in lib/helpers.js change http to https.

addic7edURL:      'http://www.addic7ed.com',
to
addic7edURL:      'https://www.addic7ed.com',

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.