Free

Extract HTML products with Scrapling: prompt

Extract three products from sample HTML with names, prices and source fragments. Change an element class in a copy and test the selection rule again.
Prompts

Where to use it

Extract three products from sample HTML with names, prices and source fragments. Change an element class in a copy and test the selection rule again.

  1. Open a practice project in Codex and paste the prompt. The assistant will find available information and ask about anything missing.
  2. Use the Scrapling card for setup and compare the result with the source data.

After review, you will have the result of one chosen task. Continue with An assistant for your documents.

Paste into Codex:

Find the source information in the available project and conversation, and fill in the fields in brackets yourself. Ask me about unknown goals, preferences and sources; do not invent them.
Extract three products from my practice HTML [file]: name, price and the source fragment for each record.
Use only the Scrapling parser from https://github.com/D4Vinci/Scrapling in a separate Python environment. A missing price is null.
Compare the records with the original. Change one element class in a copy, repeat extraction and check whether the values remain correct. Fix the selection rule if needed.
Saved