JosephLai241 / URS

Universal Reddit Scraper - A comprehensive Reddit scraping/archival command-line tool.
https://josephlai241.github.io/URS/
MIT License
801 stars 108 forks source link

URS v3.3.0 | Livestream Tools [Major Release] #37

Closed JosephLai241 closed 3 years ago

JosephLai241 commented 3 years ago

Overview

Summary

This is a major release.

URS v3.3.0 introduces a new suite of tools - the ability to livestream comments or submissions submitted in a Subreddit or by a Redditor.

These are the new flags for livestreaming:

[-lr <subreddit>]
[-lu <redditor>]

    [--nosave]
    [--stream-submissions]

Information for how these tools work is provided in the corresponding section in the README.

Directory creation methods have been overhauled - the analytics directory now sorts exported files into their respective scrape types. For example, if you were to generate word frequencies for a Subreddit scrape, the JSON file will be saved in the analytics/frequencies/subreddits directory.

This release also fulfills and fixes a few enhancement requests and bug reports that are listed in the Issue Fix or Enhancement Request section.

Livestream demo GIF will be added to the demo-gifs branch shortly after this branch is merged.

Motivation/Context

I came across the stream() method for Subreddits and Redditors when I was digging through the PRAW docs a few months ago. I think it is a very cool feature and something that I should add into this project to, again, enhance its capabilities.

New Dependencies

None

Issue Fix or Enhancement Request

Type of Change

Breaking Change

N/A

List All Changes That Have Been Made

Added

Changed

Deprecated

How Has This Been Tested?

Test Configuration

Dependencies

astroid==2.5.6
attrs==21.2.0
certifi==2021.5.30
chardet==4.0.0
colorama==0.4.4
coverage==5.5
cycler==0.10.0
halo==0.0.31
idna==2.10
iniconfig==1.1.1
isort==5.8.0
kiwisolver==1.3.1
lazy-object-proxy==1.6.0
log-symbols==0.0.14
matplotlib==3.4.2
mccabe==0.6.1
more-itertools==8.8.0
numpy==1.20.3
packaging==20.9
Pillow==8.2.0
pluggy==0.13.1
praw==7.2.0
prawcore==2.1.0
prettytable==2.1.0
py==1.10.0
pylint==2.8.3
pyparsing==2.4.7
pytest==6.2.4
pytest-cov==2.12.1
python-dateutil==2.8.1
python-dotenv==0.17.1
requests==2.25.1
six==1.16.0
spinners==0.0.24
termcolor==1.1.0
toml==0.10.2
update-checker==0.18.0
urllib3==1.26.5
wcwidth==0.2.5
websocket-client==1.1.0
wordcloud==1.8.1
wrapt==1.12.1

Checklist