Securitylab Scraper
Spider read securitylab.ru in 1.6 s without a browser and returned 121 lines of clean markdown, including the section "Модификаторы видимости и ABI".
### Кто-то прячет адрес ради сериалов. Вы — ради новостей про кибербезопасность. Достойно. Подпишитесь на SecurityLab в Telegram и не останавливайтесь.* Перенесли `block.blockhash` в `blockhash`. Логично, ведь `blockhash` текущего блока недоступен (`block.blockhash(block.number) == 0`).* Отказались от `suicide`/`sha3` в inline assembly. Не понятно, почему вне assembly эти конструкции по-прежнему доступны, хотя и deprecated.## Более строгий синтаксис`function foo() { x = 1; revert(); uint x; }`## Модификаторы видимости и ABI## Функции с произвольным количеством аргументов и упаковка данных`encode`, `encodePacked`, `encodeWithSelector` и `encodeWithSignature`, позволяющие контролировать сборку данных для вызова или хэширования.Предлагается с их помощью собирать аргументы для `keccak256`/`sha256`/`ripemd160` и `call`/`delegatecall`. Планируется поменять синтаксис этих команд так, чтобы они не могли принимать список аргументов произвольной длины.* Изменение в автовыведении типов для констант в конструкциях с плотной упаковкой аргументов: в конструкциях вроде `keccak256(1)` теперь используется не наименьший достаточный тип (`uint8`), а `uint256`. Если такое поведение не устраивает, то придется использовать явное приведение типов (`keccak256(uint8(1))`).* Изменение правил упаковки массивов. Началось все с проблемы мультисиг кошельков, которые не могли выполнять транзакции контрактов, пытавшихся защититься от short address attack. Видимо, текущее поведение посчитали достаточно неочевидным, а может, это подготовка к введению проверки длины `msg.data` на уровне EVM.## Улучшение "работы с памятью" The same call, in code.
The capture above came back as markdown. These examples add a key, so you get browser rendering, proxies, and concurrency on securitylab.ru.
import { SpiderBrowser } from "spider-browser";
const spider = new SpiderBrowser({
apiKey: process.env.SPIDER_API_KEY!,
});
await spider.connect();
const page = spider.page!;
await page.goto("https://securitylab.ru");
// No selectors, no schema. Spider reads the page and names the fields.
const data = await page.scrape();
console.log(data);
await spider.close(); import { Spider } from "@spider-cloud/spider-client";
const spider = new Spider({ apiKey: process.env.SPIDER_API_KEY! });
const result = await spider.scrapeUrl("https://www.securitylab.ru", {
return_format: "markdown",
});
console.log(result); Ready for volume? Get an API key →
Fields you can pull.
Spider names these from the page. The capture above came back as markdown; the same
call with return_format: "json" returns them as keys.
What securitylab.ru costs to scrape.
The capture above cost $0.000116 to fetch. Pricing is $1 per GB of pre-transformation bandwidth plus $0.001 per CPU minute, so a page like this one lands at a fraction of a cent. Failed requests are billed at $0.
- Free balance on signup
- No card required to test
- Balance never expires
Run it keyless, no account
More International scrapers.
Mercado Libre Scraper
Extract product listings, seller ratings, pricing in local currencies, and shipping data from Mercado Libre.
Rakuten Scraper
Extract product listings, store ratings, cashback offers, and pricing data from Rakuten Japan marketplace.
Flipkart Scraper
Extract product listings, seller data, pricing in INR, and delivery estimates from Flipkart India store.
Start scraping securitylab.ru.
You already have the call. A key raises the rate limit and turns on browser rendering, proxies, and concurrency. Balance never expires, and top-ups go through secure checkout.