Skip to content

Charset on final file is not like expected #23

@TiagoGouvea

Description

@TiagoGouvea

Configuration

version: website-scraper@5.3.1

options: [provide your full options object]

const options = {
  urls: ['https://www.appmasters.io/pt/'],
  directory: '/Users/tiagogouvea/www/scrapper/test/app/',
  plugins: [ new SaveToExistingDirectoryPlugin() ]
};

Description

Trying to scrap a website that has <meta charSet="utf-8"/> results on a content without correct charset presentation.

Following is a screenshot showing the original content and the scrapped one.

Cursor_and_App_Masters_-_Desenvolvimento_web_e_mobile_-_App_Masters_-_Desenvolvimento_Web_e_Mobile_-_Juiz_de_Fora_MG

Expected behavior: That the save filed was on the same charset.

Actual behavior: It failed to save on the current way.

Additional Information

Congratulations for this amazing project! 👏👏👏

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions