mirror of
https://github.com/bellingcat/reddit-post-scraping-tool.git
synced 2026-06-08 03:28:30 +03:00
13
.github/FUNDING.yml
vendored
Normal file
13
.github/FUNDING.yml
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
# These are supported funding model platforms
|
||||
|
||||
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
|
||||
patreon: # Replace with a single Patreon username
|
||||
open_collective: # Replace with a single Open Collective username
|
||||
ko_fi: # Replace with a single Ko-fi username
|
||||
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
|
||||
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
|
||||
liberapay: # Replace with a single Liberapay username
|
||||
issuehunt: # Replace with a single IssueHunt username
|
||||
otechie: # Replace with a single Otechie username
|
||||
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
|
||||
custom: ['https://buymeacoffee.com/_rly0nheart'] # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
|
||||
2
.github/dependabot.yml
vendored
2
.github/dependabot.yml
vendored
@@ -8,7 +8,7 @@ updates:
|
||||
- package-ecosystem: "nuget"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
directory: "RPST GUI"
|
||||
directory: "Knew Karma"
|
||||
ignore:
|
||||
- dependency-name: "Newtonsoft.Json"
|
||||
- package-ecosystem: "pip"
|
||||
|
||||
11
README.md
11
README.md
@@ -1,4 +1,6 @@
|
||||

|
||||
# Note
|
||||
> ## Use [Knew Karma](https://github.com/bellingcat/knewkarma) for more advanced and improved features.
|
||||
|
||||
# RPST (Reddit Post Scraping Tool)
|
||||
Retrieve **Reddit** posts that contain the specified keyword from a specified subreddit.
|
||||
|
||||
@@ -6,8 +8,8 @@ Retrieve **Reddit** posts that contain the specified keyword from a specified su
|
||||
|
||||
# ✅ Features
|
||||
## *GUI*
|
||||
- [x] Dark mode (*Right-click*).
|
||||
- [x] Saves results to a JSON file (*Right-click*).
|
||||
- [x] Dark mode (*Right-click>Settings>Dark Mode*).
|
||||
- [x] Saves results to a JSON/CSV file (*Right-click>Settings>Save posts>to JSON/to CSV*).
|
||||
- [x] Logs errors to a file.
|
||||
- [x] In-App feature to check for Updates.
|
||||
|
||||
@@ -19,9 +21,6 @@ Retrieve **Reddit** posts that contain the specified keyword from a specified su
|
||||
# 📃 TODO
|
||||
## *GUI*
|
||||
- [ ] Make it installable with a setup.exe/setup.msi file.
|
||||
- [x] Add manual dark mode option, that will be persistent in all sessions.
|
||||
- [x] Make settings persistent in all sessions.
|
||||
- [x] Make it save results to a CSV file.
|
||||
|
||||
# 🖥️ Tested environments
|
||||
## *GUI*
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
<PackageProjectUrl>https://github.com/bellingcat/reddit-post-scraping-tool</PackageProjectUrl>
|
||||
<PackageReadmeFile>README.md</PackageReadmeFile>
|
||||
<RepositoryUrl>https://github.com/bellingcat/reddit-post-scraping-tool</RepositoryUrl>
|
||||
<AssemblyVersion>1.9.1.0</AssemblyVersion>
|
||||
<FileVersion>1.9.1.0</FileVersion>
|
||||
<AssemblyVersion>1.9.1.1</AssemblyVersion>
|
||||
<FileVersion>1.9.1.1</FileVersion>
|
||||
<PackageLicenseFile>LICENSE</PackageLicenseFile>
|
||||
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
|
||||
<Version>1.9.1</Version>
|
||||
|
||||
@@ -29,7 +29,7 @@ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.", "License Agreement", MessageBoxButtons.YesNo, MessageBoxIcon.Information)
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.", "License Agreement", MessageBoxButtons.OKCancel, MessageBoxIcon.Information)
|
||||
|
||||
Return result
|
||||
End Function
|
||||
@@ -176,7 +176,7 @@ First launched on: {DateTime.Now}"
|
||||
|
||||
If Not File.Exists(filePath) Then
|
||||
Dim result As DialogResult = LicenseAgreement()
|
||||
If result = DialogResult.Yes Then
|
||||
If result = DialogResult.OK Then
|
||||
File.WriteAllText(filePath, textToWrite)
|
||||
Else
|
||||
FormMain.Close()
|
||||
|
||||
BIN
images/2023-08-31_20-33.png
Normal file
BIN
images/2023-08-31_20-33.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.0 MiB |
BIN
images/2023-08-31_20-33_1.png
Normal file
BIN
images/2023-08-31_20-33_1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1017 KiB |
BIN
images/2023-08-31_20-34.png
Normal file
BIN
images/2023-08-31_20-34.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 886 KiB |
@@ -7,7 +7,7 @@ packages = ["rpst"]
|
||||
|
||||
[project]
|
||||
name = "reddit-post-scraping-tool"
|
||||
version = "1.9.1.0"
|
||||
version = "1.9.1.1"
|
||||
description = "Retrieve Reddit posts that contain the specified keyword from a specified subreddit."
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.8"
|
||||
|
||||
@@ -21,7 +21,7 @@ def run():
|
||||
|
||||
try:
|
||||
# Check for updates
|
||||
check_updates(version_tag="1.9.1.0")
|
||||
check_updates(version_tag="1.9.1.1")
|
||||
|
||||
# Get posts with the provided/parsed arguments
|
||||
get_posts(args=args)
|
||||
|
||||
Reference in New Issue
Block a user