Fixed regex

master
Sven Slootweg 13 years ago
parent 58d6e3b86c
commit f904ef414f

2
4c

@ -17,7 +17,7 @@ parser.add_argument('-f', '--force', dest='force_redownload', action='store_true
args = parser.parse_args() args = parser.parse_args()
options = vars(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']: for url in options['urllist']:
print "Thread URL: %s" % url print "Thread URL: %s" % url

Loading…
Cancel
Save