Rosetta Code:Village Pump/RC extraction Tool and Task: Difference between revisions

Added a section about a Python library that might help with this.
(Point to existing solution.)
(Added a section about a Python library that might help with this.)
 
Line 71:
 
[[User:Kazinator|Kazinator]] ([[User talk:Kazinator|talk]]) 00:13, 30 October 2018 (UTC)
 
==== Python Library ====
 
I created [https://github.com/gerph/rosettacode a library] for my own use yesterday, which can extract the Category, Task, Language and CodeBlock (my names for those things - it's likely that they have other names on RC), from the site. I'm only using it so that I could extract C snippets to test against a compiler, but I thought it may be useful to others, so I've tidied it up and added a simple CLI tool to the front. It doesn't work well for some things, but it might be useful for this case or anyone else wanting to extract the code in a structured way.
 
[[User:Gerph|Gerph]] ([[User talk:Gerph|talk]]) 21:21, 10 May 2019 (UTC)
Anonymous user