ScraPE - An Automated Tool for Programming Exercises Scraping

Author Ricardo Queirós

Thumbnail PDF


  • Filesize: 0.5 MB
  • 7 pages

Document Identifiers

Author Details

Ricardo Queirós
  • CRACS - INESC-Porto LA, Portugal
  • uniMAD, ESMAD/P.PORTO, Portugal

Cite AsGet BibTex

Ricardo Queirós. ScraPE - An Automated Tool for Programming Exercises Scraping. In 11th Symposium on Languages, Applications and Technologies (SLATE 2022). Open Access Series in Informatics (OASIcs), Volume 104, pp. 18:1-18:7, Schloss Dagstuhl – Leibniz-Zentrum für Informatik (2022)


Learning programming boils down to the practice of solving exercises. However, although there are good and diversified exercises, these are held in proprietary systems hindering their interoperability. This article presents a simple scraping tool, called ScraPE, which through a navigation, interaction and data extraction script, materialized in a domain-specific language, allows extracting the data necessary from Web pages - typically online judges - to compose programming exercises in a standard language. The tool is validated by extracting exercises from a specific online judge. This tool is part of a larger project where the main objective is to provide programming exercises through a simple GraphQL API.

Subject Classification

ACM Subject Classification
  • Applied computing → Computer-managed instruction
  • Applied computing → Interactive learning environments
  • Applied computing → E-learning
  • Web scrapping
  • crawling
  • programming exercises
  • online judges
  • DOM


  • Access Statistics
  • Total Accesses (updated on a weekly basis)
    PDF Downloads


  1. Jackie O'Kelly and J. Paul Gibson. Robocode & problem-based learning: A non-prescriptive approach to teaching programming. SIGCSE Bull., 38(3):217-221, June 2006. URL:
  2. José Carlos Paiva, Ricardo Queirós, and José Paulo Leal. Mooshak’s Diet Update: Introducing YAPExIL Format to Mooshak. In Ricardo Queirós, Mário Pinto, Alberto Simões, Filipe Portela, and Maria João Pereira, editors, 10th Symposium on Languages, Applications and Technologies (SLATE 2021), volume 94 of Open Access Series in Informatics (OASIcs), pages 9:1-9:7, Dagstuhl, Germany, 2021. Schloss Dagstuhl - Leibniz-Zentrum für Informatik. URL:
  3. José Carlos Paiva, Ricardo Queirós, José Paulo Leal, and Jakub Swacha. Yet Another Programming Exercises Interoperability Language (Short Paper). In Alberto Simões, Pedro Rangel Henriques, and Ricardo Queirós, editors, 9th Symposium on Languages, Applications and Technologies (SLATE 2020), volume 83 of OpenAccess Series in Informatics (OASIcs), pages 14:1-14:8, Dagstuhl, Germany, 2020. Schloss Dagstuhl-Leibniz-Zentrum für Informatik. URL:
  4. Anthony Robins, Janet Rountree, and Nathan Rountree. Learning and teaching programming: A review and discussion. Computer Science Education, 13(2):137-172, 2003. URL:
  5. Vidhi Singrodia, Anirban Mitra, and Subrata Paul. A review on web scrapping and its applications. In 2019 International Conference on Computer Communication and Informatics (ICCCI), pages 1-6, 2019. URL:
Questions / Remarks / Feedback

Feedback for Dagstuhl Publishing

Thanks for your feedback!

Feedback submitted

Could not send message

Please try again later or send an E-mail