setup, config, selenium_driverless, images, comments#39
Draft
milahu wants to merge 28 commits intotimf34:mainfrom
Draft
setup, config, selenium_driverless, images, comments#39milahu wants to merge 28 commits intotimf34:mainfrom
milahu wants to merge 28 commits intotimf34:mainfrom
Conversation
based on timf34#26
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
path/to/${blog_handle}/${post_slug}.mdlike_count_element = soup.select_one("a.post-ufi-button .label")readme.mdwith links to all posts%Y-%m-%d, not full ISO datetime formatoutput_directoryVersion ${iso_datetime_of_last_change_on_this_page} archived from <a href="${original_post_url}">${original_blog_domain}</a>(this should not use the scrape time to get reproducible output)content_element = soup.select_one("div.available-content")${blog_name} is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber. Subscribedfor url in tqdm(self.post_urls, total=total):args.numbershould apply to posts sorted in ascending order, sonumber=3selects the 3 oldest postsofflineto render Markdown/HTML files from existing JSON filespost_preloads["post"]["body_html"]!=str(soup.select_one("div.available-content"))--post_preloads["post"]["body_html"]can contain component data that must be rendered to HTML, for example to<div data-component-name="DigestPostEmbed"offlineparameter work withargs.number= preserve JSON data which is out of range