matcornic / matcornic/addic7ed

Handle download limit exceeded

Open
#2 1 comment 0 reactions 1 assignee View on GitHub

@matcornic is already working on this.

Since Feb 24, 2018.

bug
Dominant language
Go
Stars
19
Forks
2
PR merge metrics
No merged PRs in 30d

Description

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

Extract of HTML file:
```html
Daily Download count exceeded. Login to continue.


Error: 2: Anonymous users are limited to 15 downloads per 24 hours on their IP address. Fix: Login to get more


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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.