Skip to the content Skip to the Navigation

Red And Green

  • Python Code
  • Rust Programming
  • Bitcoin Programming
  • Contact

scrapy

  1. HOME
  2. scrapy
April 26, 2021 / Last updated : February 27, 2023 admin Python Code

Extract links with Scrapy

Using Scrapy’s LinkExtractor method you can get the links from every page that you desire. What are Link Extractors? “A link extractor is an object that extracts links from responses.” Summary The above code gets all of the hrefs very quickly and give you the flexibility to omit or include very specific attirbutes Watch the video Extract Links | how to scrape website urls | Python + Scrapy […]

November 11, 2020 / Last updated : November 11, 2020 admin Python Code

Price Tracking Amazon

A common task is to track competitors prices and use that information as a guide to the prices you can charge, or if you are buying, you can spot when a product is at a new lowest price. The purpose of this article is to describe how to web scrape Amazon. Using Python, Scrapy, MySQL, […]

October 17, 2020 / Last updated : October 17, 2020 admin Python Code

How To Web Scrape Amazon (successfully)

You may want to scrape Amazon for information about books about web scraping! We shorten what would have been a very very long selector, by using “contains” in our xpath : response.xpath(‘//*[contains(@class,”sg-col-20-of-24 s-result-item s-asin”)]’) The most important thing when starting to scrape is to establish what you want in your final output. Here are the […]

October 5, 2020 / Last updated : October 5, 2020 admin Python Code

Xpath for hidden values

This article describes how to form a Scrapy xpath selector to pick out the hidden value that you may need to POST along with a username and password when scraping a site with a log in. These hidden values are dynamically created so you must send them with your form data in your POST request. […]

October 4, 2020 / Last updated : October 4, 2020 admin Python Code

Scrapy Form Login

The following is an article which will show you how to use Scrapy to log in to sites that have username and password authentication. The important thing to remember is that there may be additional data that needs to be sent to the login page, data that is in addition to just username and password… […]

July 13, 2020 / Last updated : February 23, 2023 admin Python Code

Configure a Raspberry Pi for web scraping

Introduction The task was to scrape over 50,000 records from a website and be gentle on the site being scraped. A Raspberry Pi Zero was chosen to do this as speed was not a significant issue, and in fact, being slower makes it ideal for web scraping when you want to be kind to the […]

July 2, 2020 / Last updated : July 2, 2020 admin Python Code

Extracting JSON from JavaScript in a web page

Why would you want to do that? Well, if you are web scraping using Python, and Scrapy for instance, you may need to extract reviews, or comments that are loaded from JavaScript. This would mean you could not use your css or xpath selectors like you can with regular html. Parse Instead, in your browser, […]

Recent Posts

workspaces in rust

Rust Workspaces

May 19, 2025
This Actix-Web Rust server handles messages and tracks server status. It shares state using `Mutex`-protected `HashMap` and `String`. Clients can `GET` or `POST` a message and `GET` a list of servers. State is initialized in `main` and injected into request handlers for simple thread-safe access.

App state in Actix-web

May 17, 2025
Multiple LLM Backends

Protected: Chain Multiple LLM backends in Rust

May 12, 2025

Understanding Encrypted Counters in Rust with RocksDB

May 11, 2025

Protected: Build your first MCP server in Rust and test it with an LLM

May 6, 2025
OpenAPI & FastAPI Generation Automatically generate FastMCP servers from existing OpenAPI specifications (FastMCP.from_openapi()) or FastAPI applications (FastMCP.from_fastapi()), instantly bringing your web APIs to the MCP ecosystem.

Protected: Build an MCP Server from OpenAPI Spec

May 5, 2025
Schemars in Rust

Schemars in Rust: Beyond Basic Structs

May 1, 2025
podman v docker

Getting Started with Podman

April 30, 2025
as_ref

as_ref and Cow

April 30, 2025
what-are-resources

Protected: Dynamic Resources – MCP protocol

April 23, 2025

Category

  • AI ML
  • automation
  • Bitcoin Programming
  • c
  • ebay api
  • email
  • JavaScript
  • LangChain
  • MySQL
  • Pandas
  • postgres
  • Python Code
  • Raspberry Pi
  • requests
  • Rust Programming
  • Scrapy
  • Selenium
  • Smart Contracts
  • Stellar
  • SurrealDB
  • Uncategorized
  • web scraping

Archive

  • May 2025
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • July 2024
  • June 2024
  • May 2024
  • April 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
  • November 2023
  • October 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • November 2022
  • September 2022
  • November 2021
  • September 2021
  • August 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • July 2020
  • June 2020
  • April 2020
  • March 2020

Actix-web AI API async Automation axum BDK bitcoin Bitcoin Core blockchain class Closure closures Design Patterns dictionaries GitHub huggingface iced impl langchain LLM MCP ModelContextProtocol mutable Networks Podman python Qdrant raspberry pi Rust Programming scrapy Smart Contracts Sphinx Stellar struct SurrealDB Upsert VectorDatabase Vectors WASM webscraping web scraping Word DOCX xpath Yaml

  • email
  • github
  • YouTube
This site is hosted with https://webdock.io/en Fast Cloud VPS Hosting Flat fee all-inclusive VPS with a Free Control Panel

Copyright © Red And Green All Rights Reserved.

Powered by WordPress & Lightning Theme by Vektor,Inc. technology.

MENU
  • Python Code
  • Rust Programming
  • Bitcoin Programming
  • Contact
Translate ยป