Skip to content

Commit

Permalink
Merge 0cd956b into 5b69b8b
Browse files Browse the repository at this point in the history
  • Loading branch information
Samyak2 committed Oct 6, 2019
2 parents 5b69b8b + 0cd956b commit fbdceba
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pastepwn/core/pastepwn.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from pastepwn.core import ScrapingHandler, ActionHandler
from pastepwn.core.pastedispatcher import PasteDispatcher
from pastepwn.util.request import Request

import pastepwn

class PastePwn(object):
"""Represents an instance of the pastepwn core module"""
Expand Down Expand Up @@ -94,7 +94,9 @@ def start(self):
if self.__exception_event.is_set():
self.logger.error("An exception occured. Aborting the start of PastePwn!")
exit(1)

if self.scraping_handler.scrapers == []:
pastebinscraper = pastepwn.scraping.pastebin.pastebinscraper.PastebinScraper()
self.add_scraper(pastebinscraper, True)
self.scraping_handler.start()
self.paste_dispatcher.start()
self.action_handler.start()
Expand Down

0 comments on commit fbdceba

Please sign in to comment.