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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T10:12:55+00:00 2026-06-13T10:12:55+00:00

I am trying to parse a library website to obtain information from a specific

  • 0

I am trying to parse a library website to obtain information from a specific publisher. Here is the link to the website.

http://hollis.harvard.edu/?q=publisher:%22sonzogno%22+ex-Everything-7.0:%221700-1943%22+

So far by using beautiful soup, I can grab data that I need from this page. The problem being my script grabs only the first 25 entries ( a single pages worth) from the the entire result set which has a lot more.

What am I missing here?

Here is the small snippet of code.

def url_parse(name):

if(name == " "): print 'Invalid Error' else: response = urllib2.urlopen(name) html_doc = response.read() soup = BeautifulSoup(html_doc) print soup.title print soup.find_all("a",{"class":"classiclink"}) #print soup.find("a",{"class":"classiclink"}) aleph_li = [] # creates and emptylist aleph_li = soup.find_all("a",{"class":"classiclink"})

After this I plan to use the information available in these tags.So far like you said, I can grab only 25 of them.

I am unable to iterate through each page, as the url(containing some sort of query) doesn’t seem to have any page information. I am not sure how make recurring requests to the server.

Thanks.

  • 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-13T10:12:56+00:00Added an answer on June 13, 2026 at 10:12 am

    Maybe this won’t be so hard:

    If you look at the request to get other page, which is called result.ashx, you can see the following parameters:

    inlibrary:false
    noext:false
    debug:
    lastquery:publisher:"sonzogno" ex-Everything-7.0:"1700-1943"
    lsi:user
    uilang:en
    searchmode:assoc
    hardsort:def
    skin:harvard
    rctx:AAMAAAABAAAAAwAAABJ/AAAHaGFydmFyZDJwdWJsaXNoZXI6InNvbnpvZ25vIiBleC1FdmVyeXRoaW5nLTcuMDoiMTcwMC0xOTQzIjJwdWJsaXNoZXI6InNvbnpvZ25vIiBleC1FdmVyeXRoaW5nLTcuMDoiMTcwMC0xOTQzIhJzb256b2dubyAxNzAwLTE5NDMAAAAAA25hdgR1c2VyAAAAA2RlZgpyZXN1bHRsaXN0BWFzc29jBQAAAAAAAAACZW4AAP////9AEAAAAAAAAAIAAAAGY19vdmVyATEEaV9mawAAAAAA
    c_over:1
    curpage:3
    concept:sonzogno 1700-1943
    branch:
    ref:
    i_fk:
    mxdk:-1
    q:publisher:"sonzogno" ex-Everything-7.0:"1700-1943"
    si:user
    cs:resultlist
    cmd:nav
    

    So try to add a parameter curpage in your own request. It’s likely that you’re going to have to use a loop to go through all the results but this seems very doable:

    params = urllib.urlencode({"curpage": NUMBER})
    urllib2.urlopen(YOUR_PAGE, params) 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to parse a website's source to extract text inside using lxml library.
I'm trying to use the JSON library to consume twitter information from the get
I am trying to parse specific XML file which is located in sub directories
I'm trying to parse an xml file to return a item with a specific
I'm trying to parse the output of this page -> http://master.anti3d.com/raw_server_list2.php The documentation of
I am trying to run the createsamples example from the OpenCV library. I can
I'm trying to implement the simple-linkedinphp library (it's found at http://code.google.com/p/simple-linkedinphp/ ) It runs
Hi i am trying to parse Json using gson library.My Json String is this
I'm trying to parse a previously-captured trace for HTTP headers using the dpkt module:
I am trying to parse an NewsML (http://www.iptc.org/std/NewsML-G2/2.7/examples/LISTING2_NewsML-G2_Complete.xml) document with querypath. But I have

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.