Giter Site home page Giter Site logo

maturner5 / turtlescrape Goto Github PK

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

turtlescrape is a very simple project to turn web scraping from multiple lines of code down into just one line by using BeautifulSoup4 in the background.

Home Page: https://github.com/maturner5/turtlescrape

License: MIT License

Python 100.00%
python python3 webscraping scraping scraping-python python38 beautifulsoup4

turtlescrape's Introduction

turtlescrape

This is a very simple project written in Python 3.8.5 to make scraping websites easier so you don't have to type all of the code for the library yourself.

This project uses these libraries: BeautifulSoup4, urllib.request and sys.

Install

Command:

pip install turtlescrape

You must also have BeautifulSoup4 installed.

Usage

Right now this project only has one function: turtlescrape().

To call it simply

from __init__ import turtlescrape

turtlescrape(url, *args, **kwargs)

Look at the example project in order to get a feel for it.

Notice

This project is most definetly broken in ways. But we all start somewhere, so input is definetly appreciated.

Not all websites let you scrape them. I have yet to figure out a workaround for that problem so in the meantime this code just throws up an error.

turtlescrape's People

Contributors

maturner5 avatar

Stargazers

 avatar

Watchers

 avatar

turtlescrape's Issues

Issue with calling the module into a program.

Currently to call the module into your program you must write it like this:

from __init__ import turtlescrape

I know this is wrong, but I don't know how I can change it to something like this:

from turtlescrape import turtlescrape

which is much better, as that is similar to how normal modules are called in python.

Any help would be much appreciated :)

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.