Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Scrapes table #171

Open
freezlite opened this issue Mar 5, 2015 · 1 comment
Open

Scrapes table #171

freezlite opened this issue Mar 5, 2015 · 1 comment

Comments

@freezlite
Copy link

As I saw in code, scrapes task created in scrapes_queue when someone browsing torrens. When I'm run ./yii scrape/queue It trying to get those scrapes task with following sql:
select s.id, t.hash, t.id as torrent_id, s.name from scrapes s
right join torrents t on s.torrent_id = t.id
where s.status = 0 and t.id in (9461,7690,1623,7059)
order by s.name;
But it's never will get any rows while scrapes(not scrapes_queue) records empty. I found just 1 logic with inserting those table and it's after this sql. So summing of saying, scrape logic will never runs.

@freezlite
Copy link
Author

Still trying to understand usage of scrape table and rows there such as complete incomplete downloaded. And why the row 'name' named not as url.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant