Our great sponsors
-
bypass-captcha
Use Nodejs + Playwright + 2Captcha, bypass captcha and automatically log in to bilibili.com
-
const { chromium } = require("playwright"); (async () => { // Select the Chrome browser, set headless: false to see the browser interface const browser = await chromium.launch({ headless: false, }); const page = await browser.newPage(); // open bilibili.com await page.goto("https://www.bilibili.com/"); const [response] = await Promise.all([ // request verification code interface page.waitForResponse( (response) => response.url().includes("/x/passport-login/captcha") && response.status() === 200 ), // Click the login button at the top page.click(".header-login-entry"), ]); // Get the interface response information const responseJson = await response.body(); // Parse out gt and challenge const json = JSON.parse(responseJson); const gt = json.data.geetest.gt; const challenge = json.data.geetest.challenge; console.log("get gt", gt, "challenge", challenge); // Pause for 5 seconds to prevent the browser from closing too fast to see the effect sleep(5000); // close the browser await browser.close(); })(); /** * Simulate the sleep function, delay for a number of milliseconds */ function sleep(delay) { var start = new Date().getTime(); while (new Date().getTime() < start + delay); }
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
Make sure that Nodejs has been installed locally on your computer