Giter VIP home page Giter VIP logo

web-crawler's Introduction

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

STEPS TO RUN TASK 1:

  1. Intsall requests using the following command: pip install requests

  2. Install BeautifulSoup using the following command: pip install BeautifuSoup4

  3. Navigate to the directory in which the files are there and run the following command python hw1_task_1.py

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

STEPS TO RUN TASK 2:

  1. Navigate to the directory in which the files are there and run the following command python hw1_task_2.py

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

FILES PRESENT IN HERE:

  1. hw1_task_1.py - for TASK 1
  2. hw1_task_2.py - for TASK 2
  3. Task 1-E - list for UrLs(result of task1) - Maximum depth reached is 3
  4. Task 2 - list for UrLs(result of task2) - maximum depth reached is 6
  5. task2Brief - Explaination for TASK 2

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

REFERENCES:

  1. https://en.wikipedia.org/wiki/Tropical_cyclone
  2. http://www.pythonforbeginners.com/python-on-the-web/beautifulsoup-4-python/
  3. https://www.crummy.com/software/BeautifulSoup/bs4/doc/
  4. https://docs.python.org/2/library/re.html
  5. https://pypi.python.org/pypi/stemming/1.0
  6. https://en.wikipedia.org/wiki/Breadth-first_search
  7. https://en.wikipedia.org/wiki/Depth-first_search
  8. https://www.hackerearth.com/practice/algorithms/graphs/breadth-first-search/tutorial/

web-crawler's People

Contributors

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