-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
json to hugo pages #19
json to hugo pages #19
Conversation
- completely updated to use config validator new format (attrib instead of dict) - documented jb_get_last_page_of_show
- documenting scrape_data_from_jb + sub-functions - handling JupiterBroadcasting#16 by logging it till better solution
- making empty Jbd_Episode_Record, so it can write episode out still - added TODO for error talked about on GH
- updating references with necessary changes for models
- adding warning when there won't be direct downloads - simplfying replace with raw string
- adding hd_torrent to Jbd_eipsode_record - renaming Jbd_episode_record to Jb_episode_record
- now returning object instead of dict for get_podcast_chapters - using html2text instead of html2text.html2text
- sponsors and people now saving as .md files - renamed save_json_file -> save_post_obj_file
@elreydetoda Good work, I managed to set it all up with pipenv and all. One thing I'm not sure about: |
Yay 🎉 , I'm glad that you got everything working and tested 😁 (some day you'll have to tell me how you got it to work with your python setup 😅 ) BTW, I just pushed the last commit which addressed your other concern from the other repo, my bad for not pushing it earlier... |
Interesting... 🤔 , it's probably happening with the conversion in the pydantic_yaml library...let me see if there's anything I can pass to modify that to all uppercase. |
I installed a fresh Fedora 36 on a second SSD on my machine which I use only for testing distros or weird thing like that. And it all worked there out of the box 🙈 |
Lol, we'll I'm just happy it worked 😁 |
Part of addressing this: JupiterBroadcasting/jupiterbroadcasting.com#110
Alright, everything's working now 😁
NOTE: This can't be merged till I make the appropriate changes to utilize the new logic, or else it'll break the update flow that we've got with the GH action.
Summary of changes:
python-frontmatter
&pydantic-yaml
example_data['foo']
->example_data.foo
data/
to now usecontent/
and writing as.md
instead of.json
python-frontmatter
library, and withpydantic-yaml
doing a lot of the heavy lifting for ease of conversion, it just works 😅jb_populate_episodes_urls
function