Files
Tirsvad 7d139f86c7 MIL-006 wiki in three languages
Delivers MIL-006 tasks 1 to 4: the wiki pages in `docs/wiki/` in English, Danish and Bahasa Malaysia (Home plus one page per lecture step, each with its screenshot and a "what we gained" section, and a shared `_Sidebar.md`), laid out as `framework/process/wiki.md` says (English without suffix, `-da` and `-ms` for the others, a language line on every page). The README links to the wiki.

Checked: the three languages have the same five pages; every page starts with the language line; code, commands and file names stay in English. There is no QC checklist for wiki pages, so there is no RC record. Publishing to the host's wiki (task 5, issue #31) follows after this merge.

Task: MIL-006#1
Task: MIL-006#2
Task: MIL-006#3
Task: MIL-006#4
2026-10-28 14:50:58 +08:00

1.3 KiB

Step 4: the live Amazon page

🌐 English · Dansk · Bahasa Melayu

Assignment. Point the code at the real Amazon product page and print the price and the title.

What happened. On 2026-10-28 Amazon answered the bot with HTTP 200 and a robot-check page ("Click the button below to continue shopping"), not the product. There was no price to read.

The page Amazon returned

What we built. is_robot_check recognises that page and the bot stops with a clear message. It does not try to solve or get past the check. Selectors and markers are in constants.py; PRODUCT_URL in .env chooses another page, for example the practice page.

Output of the bot on the live page

What we gained

  • Live sites change and may refuse scripts; the practice page is the reliable baseline.
  • Failing clearly is part of the job: a specific error beats a traceback or a wrong number.
  • Respect for the site: no workarounds for a bot check.
  • Selectors kept as data, so a markup change is a one-line edit.