Converted project to maven. Added check for dl=0 flag already present in url.