Coder Social home page Coder Social logo

addic7ed's People

Contributors

matcornic avatar

Stargazers

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

Watchers

 avatar  avatar

Forkers

gaybro8777 wuzuf

addic7ed's Issues

Handle download limit exceeded

The Download function fetches the page of the subtitle. But, Addic7ed has a limit on number of downloads

Extract of HTML file:

Daily Download count exceeded. Login to continue.<br><br>
Error: 2: Anonymous users are limited to 15 downloads per 24 hours on their IP address. Fix: Login to get more<br><br><br>Registered users are limited to 40 but VIPs get 80 downloads every 24 hours. Please consider donating to become VIP and show your support.

TODO: handle correctly the case by returning an error, when detected.

Feature Request: CLI

First of all, nice job @matcornic!

I would love to see a CLI as an extended functionality to non-programmer users as well, this will be helpful to you as well I think :)

github.com/matcornic/addic7ed/cmd/addic7ed/main.go ~ go get -u github.com/matcornic/addic7ed/cmd/addic7ed

Recommendation: Check the colly package created by @asciimoo, colly is a higher-level pkg based on the goquery that you're already using, it may make your job easier, give it a try:)

Congrats and keep that strong!


Thanks,
Gerasimos Maropoulos - Author of Iris

Didn't work with when multiple results

Hi,

I have tested it with file:

Borgia S01E01 BD Rip 720p Compact HEVC 10 Bit AAC Stereo EN SRT

When I put on search page in Addicted, I get 2 results, but when the code search for inexistant .titulo class, so it doesnt find any result.

Analysing Addicted search page, result is:

<table class="tabel" align="center" width="80%" border="0">

<tr>
  <td>
    <img src="https://www.addic7ed.com/images/television.png" /></td>
    <td><a href="serie/Borgia/1/1/1492" debug="52384">Borgia - 01x01 - 1492</a></td>
</tr>
<tr>
<tr>
<td><img src="https://www.addic7ed.com/images/television.png" /></td>
<td>
  <a href="serie/The_Borgias/1/1/The_Poisoned_Chalice" debug="41974">The Borgias - 01x01 - The Poisoned Chalice</a>
</td>
</tr>
<tr>
<p>
<p>
 </table>

Add7cted has bad HTML code :(

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.