list.txt
The whole list — every id the cat has turned away at the door. Fetch it once an hour, keep it in memory, compare.
A guest list in reverse: if you are on it, you don't get in. This is where the user ids of Telegram spammers already caught in the act are kept. Two plain-text files, one id per line. Grab them and filter — the cat at the door has written everyone down.
The cat at the door. Stern, but fair. No cats were harmed in the making of this list. Several spammers were.
The whole base and the last 24 hours. That is all you need: the cat behind the door has already made up its mind.
The whole list — every id the cat has turned away at the door. Fetch it once an hour, keep it in memory, compare.
The last 24 hours — ids that were listed, or listed again, in the last 24 hours. Fetch it often and merge it into the base: no gaps between the hourly rewrites.
No sign-up, no keys. A file is a file.
If-None-Match or If-Modified-Since and get a 304 when nothing has changed. gzip is on, too.Once an hour, at seven past. The file downloads only if it changed; otherwise the server answers 304 and the cat does not even look up.
7 * * * * cd /path/to/dir && curl -fsSR --compressed -z list.txt -o list.txt https://cpa.st/ban/list.txt
Polling list.txt more than once an hour is almost always pointless: the cat rewrites it on the hour. The rest of the time you get the same file, a 304 and a tired look.
Why not :00? On the hour the cat is busy rewriting the list. Don't breathe down its neck — come at seven past.
The list belongs to AlterCPA, and its main reader is AlterCPA TOP.
The house the cat belongs to. A platform for affiliate marketing and tracking — everything we make grows out of it. This list included.
www.altercpa.pro AlterCPA TOPTelegram conversion tracking: joins, leaves and bans fire postbacks to your tracker. TOP reads both files and, with the guard switched on, checks every newcomer at the channel door against them — that is why the cat opened this door in the first place.
www.altercpa.top