Skip to content

Commit

Permalink
Custom Site Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
crock committed Oct 27, 2017
1 parent f737c16 commit 52782fb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 14 deletions.
3 changes: 2 additions & 1 deletion config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ siteNum = 5
; customSite is only for sites not specifically listed in the chart above, but please be aware
; that not every site will work this way. If there is a service you would like to see support for, please
; don't hesistate to let Croc know.
customSite = "https://example.com/%%word%%"
; DO NOT PUT QUOTATION MARKS AROUND URL!
customSite = http://pastebin.com/u/%%word%%

[lists]
; Be sure to include the file extension if it has one
Expand Down
3 changes: 0 additions & 3 deletions lib/configure.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
import configparser

# Globals
WORD = ""

# Regex Patterns
PLACEHOLDER = r"%word%"
URLPATT = r"(^https?:\/\/[-.a-zA-Z0-9]+)"
Expand Down
2 changes: 1 addition & 1 deletion lib/replace.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

# Site URLs
URLS = {
1:URL,
1:URL(),
2:"https://api.mojang.com/users/profiles/minecraft/%s",
3:"https://api.twitter.com/i/users/username_available.json?username=%s",
4:"http://www.instagramavailability.com/_validate_username?username=%s",
Expand Down
11 changes: 2 additions & 9 deletions proxy_lists/proxies.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
62.250.84.188:80
115.238.229.36:80
45.55.27.246:80
93.91.112.185:80
93.90.220.11:80
1.9.78.19:80
1.9.78.30:80
203.146.82.253:80
202.201.64.112:80
116.213.102.189:80
116.213.102.189:80
45.55.27.246:80
62.250.84.188:80

0 comments on commit 52782fb

Please sign in to comment.