# Changelog of Telegram Channel Scraper — Public Posts, No Login (`teodor_banea/telegram-channel-scraper`) Actor

- **URL**: https://apify.com/teodor_banea/telegram-channel-scraper/changelog.md
- **Full Actor documentation**: https://apify.com/teodor_banea/telegram-channel-scraper.md

## Changelog

### 0.1.5 (2026-10-08)

- Pages are written to the dataset one at a time: with several channels in flight the
  single pending-page record could be overwritten before the first page landed, and a
  resurrect would then credit the wrong page.

### 0.1.4 (2026-10-08)

- A page request re-run after a hard abort is skipped when the channel already moved past
  its cursor: when the newer page ran first, the replay's ids sat above the cursor and the
  no-progress check ended the channel early ("history exhausted" at 80 of 100).

### 0.1.3 (2026-10-08)

- Restart reconcile decides from the dataset item listing at the saved offset instead of
  the dataset's `itemCount`, which lags real writes by several seconds on the platform
  (0 reported with 40 rows listed 1 s after a hard abort) and could have re-written a batch
  that was already there.

### 0.1.2 (2026-10-08)

- A page is recorded as pending in STATE before its dataset write; on restart the dataset
  item count decides whether the write happened, so an abort in the millisecond window
  between the write and the state save no longer bills the page twice (platform QA:
  120 rows for a cap of 100).
- `CHANNELS.previewAvailable` is `null` (not `false`) for channels the run never reached.

### 0.1.1 (2026-10-08)

- State is now persisted after every page, so a hard abort + resurrect (or a migration)
  resumes the per-channel counters instead of restarting at zero — platform QA caught a run
  delivering 180 posts for a cap of 100 and a `CHANNELS.newestMessageId` 41 ids too low.
- Channels the run never reached (cut off by `maxTotalPosts`) still get a `CHANNELS` record,
  and a channel left unfinished by an interrupted run is reported in the status message.
- Measured on the platform: ~$0.02 per 1,000 posts, ~$0.0012 per run floor, datacenter
  proxy only (no residential escalation needed in 11 runs); ~400 posts/min per channel.

### 0.1.0 (2026-10-08)

- Initial release.
- Scrapes public channel posts through the t.me web preview (`https://t.me/s/{channel}`):
  no account, API key, bot token or phone number. Pagination via `?before={id}` (20 posts per
  page, verified 2026-10-08).
- One constant row shape per post: plain text (optional HTML), ISO date, numeric views,
  edited flag, author signature, forward and reply references, media type with photo/video/
  document URLs, link preview, poll question/options/votes, reactions with counts (paid star
  reactions as ⭐, custom emoji without a text fallback as `custom`), extracted mentions,
  hashtags and links.
- Per-channel and run-wide caps reserved synchronously so concurrent pages never overshoot;
  `postedAfter` (absolute or relative), `postedBefore` and `sinceMessageId` filters with
  honest stop reasons (`exhausted`, `dateCutoff`, `idCutoff`, `pageLimit`, `noPreview`,
  `notFound`, `restricted`, `failed`) in the final status message.
- Channel info (title, description, avatar, counters, `newestMessageId`) stored free under the
  `CHANNELS` key-value-store key; failures under `ERRORS` (published Actors run with limited
  permissions, where named datasets cannot be created).
- Internally managed tiered proxying (datacenter → residential escalation) with impit Chrome
  TLS impersonation; no user proxy configuration.
- Deferred: a binary search over `?before=` for `postedBefore` windows deep in a channel's
  history (today the Actor pages linearly through newer posts, which costs time but no money).
