Liesenhancementgood first issuehelp wanted
Repository metrics
- Stars
- (284 stars)
- PR merge metrics
- (PR metrics pending)
説明
Hero: https://github.com/ulixee/hero
Seems to claim that it is better than puppeteer, playwright when it comes to scraping: https://ulixee.org/docs/hero/overview/basic-concepts
For now, it doesn't get detected by brotector:
I tried to see if there were some things obvious by using https://deviceandbrowserinfo.com/info_device but couldn't find anything.
But creepjs detects it: https://abrahamjuliot.github.io/creepjs/ as "smart enemy".
Example code:
const Hero = require('@ulixee/hero-playground');
(async () => {
const hero = new Hero();
await hero.goto('https://kaliiiiiiiiii.github.io/brotector/');
await new Promise(resolve => setTimeout(resolve, 5000));
const tab = hero.activeTab;
const screenshot = await tab.takeScreenshot();
require("fs").writeFile("out.png", screenshot, 'base64', function(err) {
console.log(err);
});
await hero.close();
})();