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 8256975
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T02:03:08+00:00 2026-06-08T02:03:08+00:00

As the title implies, I need to fetch data from certain website which need

  • 0

As the title implies,

I need to fetch data from certain website which need logins to use.

The login procedure might need cookies, or sessions.

Do I need QtWebkit, or can I get away with just QNetworkAccessManager?

I have no experience at both, and will start learning as I go.
So please save me a bit of time of comparing both ^^

Thank you in advance,

Evan

Edit: Having read some related answers,
I’ll add some clarifications:

The website in concern does not have an API. So I will need to scrape web elements for the data myself.
Can I do that with just QNetworkAccessManager?

  • 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-08T02:03:10+00:00Added an answer on June 8, 2026 at 2:03 am

    No, in most cases you don’t need a full simulated web browser. In most cases, just performing the same web requests like a web browser would do is enough.

    Try to record the web requests in your browser, using a plugin like “HTTP Live Headers” or “Firebug” in Firefox. I think Chrome provides a similar tool out of the box. These tools record the GET and POST requests done by the website when you send a form in the webpage.

    Another option is to inspect the HTML code of the login page. Find the <form> tag and its fields. Put them together in a GET / POST request in your application to simulate the same form.

    Remember that some pages use randomized “tokens” in their forms, some set the tokens as cookies. In such cases, you need to request the login page itself in your application first (before sending the filled in form). Both QWebView and QNetworkAccessManager have cookie support.

    To sum things up, I think QWebView provides a far more elegant way to simulate user interaction with a web page. The manual way is, however, more “lightweight”, as you don’t need Webkit and your application might be faster (because only the HTML page is loaded, without any linked resources like images, CSS, javascript files).

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

Sidebar

Related Questions

As the title implies, I am using AFNetworking in an iOS project in which
Just as the title implies, is it acceptable to create and use a collection
As title implies. Yes, i know it's horribad to use .abort() but hear me
As the title implies, the automatically login system is wildly used by many websites.
As the title implies, I'm using jQuery's show and hide functions to hide and
as the title implies i am searching for a good pattern / schema collection
As the post title implies, I have a legacy database (not sure if that
As the title implies, how does one extract the sub- and superdiagonal of a
Title pretty much describes it, I just need to get all the order numbers
As the title implies, the first cold POST to our MVC3 app in the

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.