GithubHelp home page GithubHelp logo

mrdodgerx / pendekar-laut Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 3 KB

The Pendekar Laut Comic Scraper is a Python script designed to facilitate the extraction of images from web pages containing episodes of the Hong Kong comic book series "Pendekar Laut." The comic follows the adventures of the hero Pai Cheung Lang in a futuristic world beset by wars

Home Page: https://www.mrdodgerx.com

License: MIT License

Python 100.00%
webscraping automation blogspot dataextraction githubrepository htmlparsing imagedownloader opensource python

pendekar-laut's Introduction

Pendekar Laut Comic Scraper

This Python script scrapes image URLs from a website hosting episodes of the Hong Kong comic book series "Pendekar Laut" and downloads the images into folders based on the episode URLs.

Installation

  1. Clone this repository:

    git clone https://github.com/mrdodgerx/pendekar-laut.git
    
  2. Install the required Python packages:

    pip install -r requirements.txt
    

Usage

  1. Modify the MAIN_URL variable in the script to the URL of the main page of the "Pendekar Laut" comic website.

  2. Run the script:

    python main.py
    

The script will fetch all episodes from the main page, find the "Read more" link for each episode, download the images from that link, and save them into folders named after each episode.

Dependencies

  • requests: For making HTTP requests to fetch webpage content.
  • Beautiful Soup: For parsing HTML content.
  • fake_headers: For generating fake user-agent headers to avoid bot detection.
  • urllib: For parsing URLs.

Synopsis

"Pendekar Laut" (Tiger Shark) is a popular Hong Kong comic book series written and illustrated by Wan Yat Leung. The story revolves around the adventures of Pai Cheung Lang, the titular character who is a skilled martial artist . Set in a fictional world inspired by Chinese martial arts and nautical themes, Pai Cheung Lang embarks on various quests and battles against formidable adversaries while seeking justice and protecting the innocent.

License

This project is licensed under the MIT License - see the LICENSE file for details.

pendekar-laut's People

Contributors

mrdodgerx 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.