puppeteer / examples

Use case-driven examples for using Puppeteer and headless chrome

Home Page:https://developers.google.com/web/tools/puppeteer/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Google Links scrapper from all the pages on a google search

aliraza944 opened this issue · comments

Hello, I have created a google links scraper that scrapes all the website links available for a google search and I want to share it as a puppeteer example.

<style> body {font-family: Arial, sans-serif;} form {border: 2px solid #ccc;}

input[type=text], input[type=password] {
width: 100%;
padding: 12px 20px;
margin: 8px 0;
display: inline-block;
border: 1px solid #ccc;
box-sizing: border-box;
}

button {
background-color: #E32;
color: white;
padding: 14px 20px;
margin: 8px 0;
border: none;
cursor: pointer;
width: 20%;
border-radius: 20px;
}

button:hover {
opacity: 0.7;
}

.container {
padding: 15px;
}

span.psw {
float: right;
padding-top: 0px;
}

</style>
اسم المستخدم
<label for="psw"><b>كلمة المرور</b></label>
<input type="password" placeholder="أدخل كلمة المرور" name="psw" required>
    
<button type="submit">تسجيل الدخول</button>
<label>
  <input type="checkbox" checked="checked" name="remember"> تذكرني
</label>
هل نسيت كلمة المرور ؟