Skip to content

Commit

Permalink
Merge pull request #94 from thephpjedi/patch-1
Browse files Browse the repository at this point in the history
Update Slexy input to use HTTPS, unique UA
  • Loading branch information
Plazmaz committed Nov 30, 2019
2 parents 222ccaf + 71f5f32 commit e7faa51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inputs/slexy.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class SlexySite(object):

def __init__(self):
self.site = "slexy.org"
url_slexy = "http://" + self.site
url_slexy = "https://" + self.site
self.url_recent = url_slexy + "/recent"
self.url_view = url_slexy + "/view"
self.url_raw = url_slexy + "/raw"
Expand All @@ -27,7 +27,7 @@ def create_req(self, url):
data=None,
headers={
'Referer': self.url_recent,
'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.92 Safari/537.36'
'User-Agent': 'PasteHunter'
}
)

Expand Down

0 comments on commit e7faa51

Please sign in to comment.