Topic on User talk:Magnus Manske

Jump to navigation Jump to search

Remove autoscrape from catalogues

12
Solidest (talkcontribs)

Hi, could you please remove autoscrape settings from these catalogues? I've been monitoring them for a long time and they stopped having autoscrape working a long time ago, but people are constantly restarting autoscrape job which hangs up in the queue for quite a long without any results.

By clicking "Reply", you agree to our Terms of Use and agree to irrevocably release your text under Creative Commons Attribution-Share Alike 4.0.
Solidest (talkcontribs)

There is also still the problem I mentioned in this post. I've launched through api autoscrape start for a set of catalogues. And the ones where autoscrape doesn't exist hang in the queue with a constant restarts via schedule. The catalogues are:

This probably needs handling with a response and stopping the task if autoscrape is requested when it can't be executed.

(I also tried running a "pause" task in https://mix-n-match.toolforge.org/#/jobs/5923 , which is also saved in the tasks. This probably needs handling too to avoid potential vandalism)

Magnus Manske (talkcontribs)

Done, and thanks for the list. I made a new job status "BLOCKED" that can not be started from the web interface.

Magnus Manske (talkcontribs)

I also filter for existing job action types now

Solidest (talkcontribs)

Thanks for the quick resolution. Btw I also saw PAUSE status in the queue a few days ago. I think it would be useful to have it in the web interface (or ABORT button) to stop at least your own tasks to avoid misclicks or unnecessary schedules as in the case of music genres above.

Solidest (talkcontribs)

Hi. Could you please also block autoscrape on these catalogs. Most of them have either changed their layout and no longer work, or are stuck permanently with no new results for over a year.

UPD: Oops, it appears I've reported them all above. They've probably been unblocked and are back in the queue?

Solidest (talkcontribs)
Gerwoman (talkcontribs)

Hi, I can't see any problem with the https://mix-n-match.toolforge.org/#/catalog/1011 WNS number . The URL and IDs seems to be the same. The web site is updated periodically, last time 9 October 2024. The web has now 116 680 postage stamps registered but in the catalog there are only 90 241. What can be the problem? Thank you.

Solidest (talkcontribs)

Hi, Gerwoman. Autoscrape doesn't work in this catalogue. Given that the catalogue is relatively small, autoscrapping should take no more than half an hour, by my experience. But in this catalogue autoscrape regularly falls into the queue and hangs there for several days/weeks without adding anything new for years. This can be verified in this way: The latest mix-n-match ID in this catalogue is https://mix-n-match.toolforge.org/#/entry/91669282. The latest mix-n-match IDs in recent catalogues have 172699175 ID. # 91m vs # 172m means that none of the autoscrape jobs for 2-3 years has not added a single new ID in this catalog. Thus, it does not work and constantly hangs in the queue.

If you know that IDs can still be autocollected from the site, you just need to reconfigure autoscrape from scratch by specifying 1011 in Catalog ID here https://mix-n-match.toolforge.org/#/scraper/new and configuring everything as you did the first time. If you can't reconfigure it again, it's better to just disable the autoscraper in it.

Gerwoman (talkcontribs)

Thank you Solidest, but I can't remember how configured it the first time. I don't have access to the URL or regex...

Gerwoman (talkcontribs)

I've reconfigured the autoscrape. Let's see.

Solidest (talkcontribs)

Yeah, it worked, the catalogue entries are now at 116k. Thanks! I've crossed that catalogue off the list.

Reply to "Remove autoscrape from catalogues"