Giter Club home page Giter Club logo

tedtex-webscraper's Introduction

Hi there ๐Ÿ‘‹ I'm [Sam George]

Software Engineer

Sam George

Tedtex-Webscraper allows users to easily scrape publicly available data from any page on Amazon, such as reviews, pricing, product information, and more. If you're interested in testing out this powerful tool, you can check out the website. Tedtex leverages the power of bright data to scrape data.

Programming Languages Used๐ŸŒ

ReactJs Nextjs Tailwind Javascript typescript

Tools ๐Ÿ› ๏ธ

brightdata mysql firebase vscode

How to run the Code ๐Ÿคท

  • Clone the Project using Git Clone
  • Change values in .env file
  • Create an account in Bright Data and put the automation script in.
  • Create an account in Firebase and connect it.
  • After all the env values are updated launch the project with the npm run dev command.

BrightData code example ๐Ÿง‘โ€๐Ÿ’ป

In the code example below, we make a request to retrieve the Amazon product page for any product.

settings({ country: input.country || "us" });
navigate(`https://www.amazon.com/s?k=${input.search}`);
let max_page = parse().max_page;
let final_page = Math.min(input.pages || 0, max_page) || 1;
for (let i = 1; i <= final_page; i++) {
  let url = `https://www.amazon.com/s?k=${input.search}`;
  if (i > 1) url += `&page=${i}`;
  next_collector({ url, country: input.country, search: input.search });
}

Can modify this script to run scraper on other websites

Github Stats

Sam George GitHub Stats

Github Repos

ReadMe Card

๐Ÿค๐Ÿป Connect with Me

Website LinkedIn Email

โญ๏ธ From @Sam George

tedtex-webscraper's People

Contributors

sam8778 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.