Fixed regex

This commit is contained in:
Sven Slootweg 2012-05-21 19:03:47 +02:00
parent 58d6e3b86c
commit f904ef414f

2
4c
View file

@ -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