4 ms·
I wrote a script that will upvote all postings containing a salary range: https://gist.github.com/dlo/77426445e6403da12c652ac00b86764f https://gist.github.com/
by theli0nheart 9y ago
I wrote a script that will upvote all postings containing a salary range:
https://gist.github.com/dlo/77426445e6403da12c652ac00b86764f https://gist.github.com/dlo/77426445e6403da12c652ac00b86764f
I've tried to make it comprehensive, and it supports a few different formats, but if it doesn't catch something it should (or it upvotes something it shouldn't), let me know. It throttles to 1 vote every 2s as to be nice to the HN servers. Hope this is helpful!
- GroSacASacs 9y agois it regex-DOS proof ?
- codesternews 9y agoHow to run it?
- TheSmiddy 9y agomissed this one: 30k€ - 70k€ https://news.ycombinator.com/item?id=16052947 https://news.ycombinator.com/item?id=16052947 changing r3 to /\d+(k|K)\s?(€|EUR)/m should do it
- theli0nheart 9y agoGood catch, thanks!
- foreigner 9y agoCould you package it as a bookmarklet?