Cheerio: Parse relative to absolute

Created on 24 Sep 2014  路  2Comments  路  Source: cheeriojs/cheerio

Will be cool this feature, convert all relative urls in all sourcecode to absolute urls.

Most helpful comment

@CodersBrothers: take a look at url.resolve.

All 2 comments

Take a look at Cheerio's dependents and you'll find a lot of modules that implement transformation behavior like this. That is to say: this sounds like a good idea for a separate module, but not for Cheerio itself. Let us know if you build anything cool!

@CodersBrothers: take a look at url.resolve.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

becush picture becush  路  3Comments

miguelmota picture miguelmota  路  3Comments

dandv picture dandv  路  5Comments

francoisromain picture francoisromain  路  5Comments

bxqgit picture bxqgit  路  3Comments