Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8585187
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T21:59:49+00:00 2026-06-11T21:59:49+00:00

I want to scrape some information from a pokerplatforms webpage. For that I need

  • 0

I want to scrape some information from a pokerplatforms webpage.

For that I need to login (post) on the https webpage “www.name.com”. But the information is placed on a subdomain “poker.name.com”. The login works pretty well but when i GET the site from the subdomain libcurl sets up a new connection obv with new cookies. Then I get a page reminding me that i have to log in.

Now my question is how i can force libcurl to use the same connection or at least the same cookie to GET the page from the subdomain.

EDIT:
Not the solution to my quetsion but works fine: I just logged in to the subdomain. The login skript exists there too.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T21:59:50+00:00Added an answer on June 11, 2026 at 9:59 pm

    When you enable cookies for a libcurl handle, you can then just re-use that handle on subsequent requests and libcurl will use cookies automatically.

    If you insist on closing the handles and creating new ones, then CURLOPT_COOKIEJAR is the option you want to save the cookies into a file and CURLOPT_COOKIEFILE can then subsequently read them back again from such a file. Alternatively, you can use libcurl’s share interface to have multiple handles share cookies.

    Then, in order to “properly” mimic a browser on a site like this, you really should record the HTTP headers sent and received during a manual session so that you can be sure your program uses the same URLs and data as your browser did.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to scrape this URL : https://www.xstreetsl.com/modules.php?searchSubmitImage_x=0&searchSubmitImage_y=0&SearchLocale=0&name=Marketplace&SearchKeyword=business&searchSubmitImage.x=0&searchSubmitImage.y=0&SearchLocale=0&SearchPriceMin=&SearchPriceMax=&SearchRatingMin=&SearchRatingMax=&sort=&dir=asc Go into each of the links
I want to scrape string data from some binary text files that contain embedded
I want to scrape a website page and then save some of the information
The problem: I want to scrap some data from certain webpage (I have administrative
Basically I need to scrape some text that has nested tags. Something like this:
I want to write a Google Chrome Extension that can take information from a
I want to scrape some google page with file get contents function: $encoded='http://www.google.co.il/#hl=en&biw=1440&bih=799&sclient=psy-ab&q=site:'.urlencode(http://stackoverflow.com/); echo
I want to scrape some html pages that have nested form elements with lxml.
Basically, I want to scrape some options data daily from Yahoo! Finance. I have
i am trying to scrape some data from this site : http://laperuanavegana.wordpress.com/ . actually

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.