Fixed regex
This commit is contained in:
parent
58d6e3b86c
commit
f904ef414f
2
4c
2
4c
|
@ -17,7 +17,7 @@ parser.add_argument('-f', '--force', dest='force_redownload', action='store_true
|
|||
args = parser.parse_args()
|
||||
options = vars(args)
|
||||
|
||||
regex = 'href="(\/\/images\.4chan\.org\/b\/src\/[0-9]+\.[a-z]+)"'
|
||||
regex = 'href="(\/\/images\.4chan\.org\/[a-z]+\/src\/[0-9]+\.[a-z]+)"'
|
||||
|
||||
for url in options['urllist']:
|
||||
print "Thread URL: %s" % url
|
||||
|
|
Loading…
Reference in a new issue