ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!

Jump to content



Photo

Python Requests


  • Please log in to reply
Python Requests

#1

Numinus
Numinus
    Offline
    3
    Rep
    6
    Likes

    Advanced Member

  • PipPipPipPip
Posts: 85
Threads: 14
Joined: Jan 11, 2019
Credits: 0

Deal with caution
User has an open scam report.
Five years registered
#1

How would I send requests with Python? I know how to access APIs, but I can't seem to find how to send requests to a random site with a login page?


  • 0

#2

Prodigium
Prodigium
    Offline
    5
    Rep
    16
    Likes

    my vision is vivid

Posts: 31
Threads: 6
Joined: Dec 21, 2018
Credits: 0
Five years registered
#2

First of all, what site are you trying to access? Not all websites handle cookies the same way and big platforms usually prevent users from scraping data. Take a look here as well if you haven't done yet:

Please Login or Register to see this Hidden Content

.


  • 0

#3

Numinus
Numinus
    Offline
    3
    Rep
    6
    Likes

    Advanced Member

  • PipPipPipPip
Posts: 85
Threads: 14
Joined: Jan 11, 2019
Credits: 0

Deal with caution
User has an open scam report.
Five years registered
#3

First of all, what site are you trying to access? Not all websites handle cookies the same way and big platforms usually prevent users from scraping data. Take a look here as well if you haven't done yet:

Please Login or Register to see this Hidden Content

.

I'm just testing, so I'm trying to check tracking number with requests.


  • 0

#4

Prodigium
Prodigium
    Offline
    5
    Rep
    16
    Likes

    my vision is vivid

Posts: 31
Threads: 6
Joined: Dec 21, 2018
Credits: 0
Five years registered
#4

I'm just testing, so I'm trying to check tracking number with requests.

Does it require you to be logged in? If not, use this tutorial:

Please Login or Register to see this Hidden Content


  • 0

#5

Numinus
Numinus
    Offline
    3
    Rep
    6
    Likes

    Advanced Member

  • PipPipPipPip
Posts: 85
Threads: 14
Joined: Jan 11, 2019
Credits: 0

Deal with caution
User has an open scam report.
Five years registered
#5

Does it require you to be logged in? If not, use this tutorial:

Please Login or Register to see this Hidden Content

Nope, but I figured out how to access with requests.


  • 0

#6

Prodigium
Prodigium
    Offline
    5
    Rep
    16
    Likes

    my vision is vivid

Posts: 31
Threads: 6
Joined: Dec 21, 2018
Credits: 0
Five years registered
#6

Nope, but I figured out how to access with requests.

Have fun, let me know if you need any help.


  • 0

#7

Numinus
Numinus
    Offline
    3
    Rep
    6
    Likes

    Advanced Member

  • PipPipPipPip
Posts: 85
Threads: 14
Joined: Jan 11, 2019
Credits: 0

Deal with caution
User has an open scam report.
Five years registered
#7

Have fun, let me know if you need any help.

Yeah, so I figured it out, but I just get returned headers..


  • 0

#8

Prodigium
Prodigium
    Offline
    5
    Rep
    16
    Likes

    my vision is vivid

Posts: 31
Threads: 6
Joined: Dec 21, 2018
Credits: 0
Five years registered
#8

Yeah, so I figured it out, but I just get returned headers..

Try using this: 

Please Login or Register to see this Hidden Content

. Urllib is also a great tool. It would be easier for me if you could share the website. 


Edited by Prodigium, 21 January 2019 - 11:06 PM.

  • 0

#9

Numinus
Numinus
    Offline
    3
    Rep
    6
    Likes

    Advanced Member

  • PipPipPipPip
Posts: 85
Threads: 14
Joined: Jan 11, 2019
Credits: 0

Deal with caution
User has an open scam report.
Five years registered
#9

Try using this: 

Please Login or Register to see this Hidden Content

. Urllib is also a great tool. It would be easier for me if you could share the website. 

You have Discord?


  • 0

#10

Prodigium
Prodigium
    Offline
    5
    Rep
    16
    Likes

    my vision is vivid

Posts: 31
Threads: 6
Joined: Dec 21, 2018
Credits: 0
Five years registered
#10

You have Discord?

PM.


  • 0


 Users browsing this thread: