Last active
August 29, 2015 14:17
-
-
Save taddeimania/9859026341e9fb5dfd2c to your computer and use it in GitHub Desktop.
Not really a scraper, just a complicated replacer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(import requests) | |
(defn replacer [] | |
(setv content | |
(. (requests.get "https://asciinema.org/api/asciicasts/17675" ) text)) | |
(setv replaced-content (.replace content "/assets" "https://asciinema.org/assets")) | |
replaced-content) | |
(replacer) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment