Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Support /scrape convention #25

Closed
Ianleeclark opened this issue Mar 1, 2016 · 2 comments
Closed

Support /scrape convention #25

Ianleeclark opened this issue Mar 1, 2016 · 2 comments

Comments

@Ianleeclark
Copy link
Owner

https://wiki.theory.org/BitTorrentSpecification#Tracker_.27scrape.27_Convention

@Ianleeclark Ianleeclark self-assigned this Mar 1, 2016
@Ianleeclark Ianleeclark added this to the 1.0.0 milestone Mar 1, 2016
@Ianleeclark Ianleeclark modified the milestones: 1.0.0, 1.1.0 Mar 14, 2016
Ianleeclark pushed a commit that referenced this issue Mar 31, 2016
Issue #25: Can't complete until further changes are made to Notorious.
@Ianleeclark Ianleeclark reopened this Mar 31, 2016
@Ianleeclark
Copy link
Owner Author

This is partially completed, but relies on the implementation of different sql tracking levels.

@Ianleeclark
Copy link
Owner Author

Ianleeclark commented May 9, 2016

This issue is in two parts

The first part is updating tracker stats after each request (Update caching issue) #131.

Ianleeclark added a commit that referenced this issue May 10, 2016
ADD:
  - database/database.go:ScrapeTorrentFromInfoHash new function to scrape a
    specific torrent from its info hash.
@Ianleeclark Ianleeclark mentioned this issue May 10, 2016
3 tasks
Ianleeclark added a commit that referenced this issue May 11, 2016
ADD:
  - database/database.go:UpdateTorrentStats() Now updates torrent stats to +/1
    the seeders/leechers for a specific torrent.
  - server/announce_response.go:formatScrapeResponse() Now formats the scrape
    response into a dictionary.

CHANGE:
  - database/schemas.go:Torrent.{Seeders,Leechers} Are now type `int` instead
    of type `int64`
  - server/server.go Updated how we write responses to two functions and
    finished scrape responses
Ianleeclark pushed a commit that referenced this issue May 11, 2016
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

1 participant