Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7198e0be90 | ||
|
|
f9f0ed5085 | ||
|
|
b0c53a1511 | ||
|
|
54b9abc4b6 | ||
|
|
4ae14ff02e | ||
|
|
376eeab243 | ||
|
|
6d427849d5 | ||
|
|
ad8cb63541 | ||
|
|
57f8c24cee |
22
README.md
@@ -20,25 +20,9 @@ Given a subreddit name and a keyword, RPST will return all posts from a specifie
|
|||||||
- [x] Add manual dark mode option, that will be persistent in all sessions
|
- [x] Add manual dark mode option, that will be persistent in all sessions
|
||||||
- [ ] Make it save results to a CSV file
|
- [ ] Make it save results to a CSV file
|
||||||
|
|
||||||
# Images & Screenshots
|
|
||||||
## GUI
|
|
||||||
* 
|
|
||||||
* 
|
|
||||||
|
|
||||||
## CLI
|
|
||||||
* 
|
|
||||||
* 
|
|
||||||
* 
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# 📖 Wiki
|
# 📖 Wiki
|
||||||
[Refer to the Wiki](https://github.com/bellingcat/reddit-post-scraping-tool/wiki) for installation instructions, in addition to all other documentation.
|
[Refer to the Wiki](https://github.com/bellingcat/reddit-post-scraping-tool/wiki) for installation instructions, in addition to all other documentation.
|
||||||
|
***
|
||||||
|
<a href="https://www.buymeacoffee.com/_rly0nheart"><img src="https://img.buymeacoffee.com/button-api/?text=Buy me a coffee&emoji=&slug=_rly0nheart&button_colour=40DCA5&font_colour=ffffff&font_family=Comic&outline_colour=000000&coffee_colour=FFDD00" /></a>
|
||||||
|
|
||||||
# 😁 Donations
|

|
||||||
If you like `RPST` and would like to show support, you can Buy A Coffee for the developer using the button below
|
|
||||||
|
|
||||||
<a href="https://www.buymeacoffee.com/_rly0nheart" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-orange.png" alt="Buy Me A Coffee" height="41" width="174"></a>
|
|
||||||
|
|
||||||
Your support will be much appreciated😊
|
|
||||||
|
|||||||
@@ -13,8 +13,8 @@
|
|||||||
<PackageProjectUrl>https://github.com/bellingcat/reddit-post-scraping-tool</PackageProjectUrl>
|
<PackageProjectUrl>https://github.com/bellingcat/reddit-post-scraping-tool</PackageProjectUrl>
|
||||||
<PackageReadmeFile>README.md</PackageReadmeFile>
|
<PackageReadmeFile>README.md</PackageReadmeFile>
|
||||||
<RepositoryUrl>https://github.com/bellingcat/reddit-post-scraping-tool</RepositoryUrl>
|
<RepositoryUrl>https://github.com/bellingcat/reddit-post-scraping-tool</RepositoryUrl>
|
||||||
<AssemblyVersion>1.7.0.0</AssemblyVersion>
|
<AssemblyVersion>1.7.0.1</AssemblyVersion>
|
||||||
<FileVersion>1.7.0.0</FileVersion>
|
<FileVersion>1.7.0.1</FileVersion>
|
||||||
<PackageLicenseFile>LICENSE</PackageLicenseFile>
|
<PackageLicenseFile>LICENSE</PackageLicenseFile>
|
||||||
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
|
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
|
||||||
<Version>1.7.0</Version>
|
<Version>1.7.0</Version>
|
||||||
|
|||||||
BIN
images/2023-08-08_07-04.png
Normal file
|
After Width: | Height: | Size: 68 KiB |
BIN
images/2023-08-08_07-04_1.png
Normal file
|
After Width: | Height: | Size: 75 KiB |
BIN
images/2023-08-08_07-12.png
Normal file
|
After Width: | Height: | Size: 32 KiB |
BIN
images/2023-08-08_07-12_1.png
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
images/2023-08-25_15-30.png
Normal file
|
After Width: | Height: | Size: 576 KiB |
BIN
images/2023-08-25_15-31.png
Normal file
|
After Width: | Height: | Size: 519 KiB |
BIN
images/2023-08-25_15-35.png
Normal file
|
After Width: | Height: | Size: 823 KiB |
BIN
images/2023-08-25_15-39.png
Normal file
|
After Width: | Height: | Size: 508 KiB |
@@ -7,7 +7,7 @@ packages = ["rpst"]
|
|||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "reddit-post-scraping-tool"
|
name = "reddit-post-scraping-tool"
|
||||||
version = "1.7.0.0"
|
version = "1.7.0.1"
|
||||||
description = "Given a subreddit name and a keyword, RPST returns all top (by default) posts that contain the specified keyword."
|
description = "Given a subreddit name and a keyword, RPST returns all top (by default) posts that contain the specified keyword."
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.8"
|
requires-python = ">=3.8"
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ def run():
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
# Check for updates
|
# Check for updates
|
||||||
check_updates(version_tag="1.7.0.0")
|
check_updates(version_tag="1.7.0.1")
|
||||||
|
|
||||||
# Get posts with the provided/parsed arguments
|
# Get posts with the provided/parsed arguments
|
||||||
get_posts(args=args)
|
get_posts(args=args)
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ def create_post_branch(post: dict, keyword: str, tree: Tree, args: argparse) ->
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Add the post's branch to the main tree.
|
# Add the post's branch to the main tree.
|
||||||
post_branch = tree.add(f"{glyph.scroll} {post['data']['title']}")
|
post_branch = tree.add(f"{glyph.page_with_curl} {post['data']['title']}")
|
||||||
|
|
||||||
# Add each piece of extracted data as a branch of the post_branch.
|
# Add each piece of extracted data as a branch of the post_branch.
|
||||||
for post_key, post_value in post_data.items():
|
for post_key, post_value in post_data.items():
|
||||||
|
|||||||