Coder Social home page Coder Social logo

datascrapers's Introduction

Data Scrapers

This is a collection of several data scrapers for popular websites made as part of the Computational Media Lab at UT Austin

Description of each scraper and how it works is documented in the respective folders.

Note

The scrapers (essentially this repository) are hosted on an Oracle Cloud instance ([email protected]) which can be accessed via SSH. To access the instance from a new device, these steps need to be followed:

  1. From the terminal of the new device run this:

$ ssh-keygen -t rsa -b 4096

This will create an SSH pair for the device (private key: id_rsa, public key: id_rsa.pub). Note the directory where these files are stored

  1. From the noted directory above, run:

$ cat id_rsa.pub

This will display the key value something like this: ssh-rsa AAAAB3NzaC......... (a long value) Copy this value

  1. For someone/device who/that already has access to the instance: Login to the instance and run:

ubuntu@smscraper:~$ cd .ssh

ubuntu@smscraper:~/.ssh$ echo "<paste the copied public key from step 2 here>" >> authorized_keys

  1. To check that the new key has been added to the instance:

ubuntu@smscraper:~/.ssh$ cat authorized_keys

  1. Now the new device can access the instance (recommended: use VSCode with Remote SSH extension)

WinSCP

Use PuTTy to convert the id_rsa.pub file to .ppk file format

Install WinSCP and use the server 129.213.41.169 with username 'ubuntu', SFTP, port 22. Use the .ppk file for authentication on: Advanced > SSH > Authentication > .ppk file

Then all the data can be viewed on /mnt/smdata/ and the instance can be accessed from /home/ubuntu/

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.