Giter VIP home page Giter VIP logo

hackerrank-scrapper's People

Contributors

dependabot[bot] avatar hearsid avatar itsjwala avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

hackerrank-scrapper's Issues

How to get the CSRF token and cookie?

I came to this github repo after reading the article on hackernoon and tried to replicate the work.

Following is mentioned there:

2. Login to your hackerrank account and copy the CSRF token and cookie from the headers of any of XHR request. (You can check the same in the network tab of chrome devtools)

I still am not sure how to get the CSRF and cookie from there.

How is my credentials.py looks like?

# file:  credentials.py

CSRF_TOKEN = "1234xxx"
COOKIE = "1234xxx"

I am not sure how to get the values of csrf and cookie.

When I right click > inspect > network
There is no columns for csrftoken and cookie.

Only there are columns like Name, Status, Type etc.
I am very new to the world of world scraping so if this is a very basic
question ignore my ignorance.

Scraper does not download the required files

My scraper works & it prints files that are there, but I don't know how to save the files on my computer. It isn't saving to my desktop or github it just keeps printing to command line the names of the outer folder (i.e. sql) and then the problem name. Input does not save locally.

Cookie Format

The CSRF toekn format is the same, however using chrome, the cookie format has changed. please advise

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.