Scrapes will now be exported to scrape-specific directories within the date directory. The forbidden access message that may appear when running the Redditor scraper is now colored yellow.
Motivation/Context
I thought of a cleaner solution to distinguish scrape types. I am not sure why I did not implement this in URS v3.1.0.
The forbidden access messages that may appear while running the Redditor scraper can be alarming to some people as it is colored red. The message is now colored yellow since it is a warning, not an error message.
I also updated the demo GIFs because the current ones are outdated.
New Dependencies
None
Issue Fix or Enhancement Request
N/A
Type of Change
[x] Bug Fix (non-breaking change which fixes an issue)
[x] Code Refactor
[x] New Feature (non-breaking change which adds functionality)
[x] This change requires a documentation update
Breaking Change
N/A
List All Changes That Have Been Made
Created a new method in DirInit.py to create scrape-specific directories within the date directory
comments, redditors, and subreddits directories are now created for you when you run each scraper
Fixed a filenaming bug that would omit the scrape type if the filename length is greater than 50 characters
The forbidden access message that may appear when running the Redditor scraper is now yellow to avoid confusion
Updated README
Updated demo GIFs
Rearranged sections
Added new sections "Scrape Speeds" and "Export Directory Structure" under "URS Overview"
Added sub-sections to Contributing section
Added new "Derivative Projects" section - this is a showcase for projects built on top of URS
Moved "Some Linux Tips" to docs directory
Minor code refactoring/formatting
Updated community/URS docs
Updated STYLE_GUIDE and PRAW credentials guide
How Has This Been Tested?
Performed manual tests to check if new scrape-specific directories are created when each scraper is run
Overview
Summary
Scrapes will now be exported to scrape-specific directories within the date directory. The forbidden access message that may appear when running the Redditor scraper is now colored yellow.
Motivation/Context
I thought of a cleaner solution to distinguish scrape types. I am not sure why I did not implement this in URS v3.1.0.
The forbidden access messages that may appear while running the Redditor scraper can be alarming to some people as it is colored red. The message is now colored yellow since it is a warning, not an error message.
I also updated the demo GIFs because the current ones are outdated.
New Dependencies
None
Issue Fix or Enhancement Request
N/A
Type of Change
Breaking Change
N/A
List All Changes That Have Been Made
DirInit.py
to create scrape-specific directories within the date directorycomments
,redditors
, andsubreddits
directories are now created for you when you run each scraperdocs
directorySTYLE_GUIDE
and PRAW credentials guideHow Has This Been Tested?
Test Configuration
Dependencies
Checklist
Tip: You can check off items by writing an "x" in the brackets, e.g.
[x]
.