remove the repeated

the  `url = require('url')` is repeated.