Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Instead of scraping, just load a yaml file from GitHub Directly #1

Closed
filiptronicek opened this issue Jul 10, 2020 · 3 comments · Fixed by #2
Closed

Instead of scraping, just load a yaml file from GitHub Directly #1

filiptronicek opened this issue Jul 10, 2020 · 3 comments · Fixed by #2
Assignees
Labels
enhancement New feature or request

Comments

@filiptronicek
Copy link
Owner

Pros of this:

  • faster response times
  • will probably break less

Cons:

  • literally none
@filiptronicek filiptronicek added the enhancement New feature or request label Jul 10, 2020
@filiptronicek filiptronicek self-assigned this Jul 10, 2020
@filiptronicek
Copy link
Owner Author

@filiptronicek
Copy link
Owner Author

Now I have to find a YAML parser for Python, bruh

@filiptronicek
Copy link
Owner Author

OK, pyyaml will do the job.

Stuff for future me to read about:
https://stackabuse.com/reading-and-writing-yaml-to-a-file-in-python/
https://pypi.org/project/PyYAML/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant