Skip to main content

No project description provided

Project description

Twimage v0.1.2

Twimage is a Python library that can scrap the trending section of Twitter for Hashtags and further to download images. It can be used as an image dataset generator for applying machine learning models for research.

Getting Started

These instructions will get you the project up and running on your local machine for scraping purposes.

Prerequisites

Twimage uses Selenium for the headless browser functionality. It also uses Click for CLI purposes and Wget for downloading images. Your system should have Mozilla Firefox installed.

pip3 install selenium click wget colorama

To download the Firefox WebDriver follow the steps.

wget https://github.com/mozilla/geckodriver/releases/download/v0.27./geckodriver-v0.27.0-linux64.tar.gz
tar xvfz geckodriver-v0.19.1-linux64.tar.gz
mv geckodriver ~/.local/bin

Installing

Install Twimage v0.1.2 by:

 pip install twimage==0.1.2 

Built With

  • Selenium - For headless browser
  • Click - Command Line Interace
  • Wget - Used to download images

Contributing

Please mail Anshul.6273@iitkgp.ac.in for contributing in the project.

Authors

License

This project is licensed under the MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

twimage-0.1.2.tar.gz (2.8 kB view hashes)

Uploaded Source

Built Distribution

twimage-0.1.2-py3-none-any.whl (3.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page