-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #68 from d-Rickyy-b/dev
FEATURE: Implement check for downloaded pastes
- Loading branch information
Showing
10 changed files
with
92 additions
and
34 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -107,3 +107,5 @@ venv.bak/ | |
.idea | ||
venv | ||
.vscode/* | ||
|
||
*.db |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
from .emptybodyexception import EmptyBodyException | ||
from .ipnotregisterederror import IPNotRegisteredError | ||
from .pastenotreadyexception import PasteNotReadyException | ||
from .pastedeletedexception import PasteDeletedException | ||
from .pasteemptyexception import PasteEmptyException | ||
|
||
__all__ = ('IPNotRegisteredError', 'EmptyBodyException') | ||
__all__ = ('IPNotRegisteredError', 'PasteNotReadyException', 'PasteDeletedException', 'PasteEmptyException') |
This file was deleted.
Oops, something went wrong.
7 changes: 7 additions & 0 deletions
7
pastepwn/scraping/pastebin/exceptions/pastedeletedexception.py
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# -*- coding: utf-8 -*- | ||
"""Module for the PasteDeletedException""" | ||
|
||
|
||
class PasteDeletedException(Exception): | ||
"""Exception class indicating a paste as been deleted""" | ||
pass |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# -*- coding: utf-8 -*- | ||
"""Module for the PasteEmptyException""" | ||
|
||
|
||
class PasteEmptyException(Exception): | ||
"""Exception class indicating a paste is empty""" | ||
pass |
7 changes: 7 additions & 0 deletions
7
pastepwn/scraping/pastebin/exceptions/pastenotreadyexception.py
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# -*- coding: utf-8 -*- | ||
"""Module for the PasteNotReadyException""" | ||
|
||
|
||
class PasteNotReadyException(Exception): | ||
"""Exception class indicating a paste is not ready for downloading yet""" | ||
pass |
This file contains 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