Skip to main content
14 events
when toggle format what by license comment
Aug 5, 2016 at 17:44 comment added anderson @PadraicCunningham can you please help me to sort this out.?this is driving me crazy since 2 days
Aug 4, 2016 at 10:43 comment added anderson can you please visit this link - https://nucleus.niituniversity.in and see requests in Inspect element's networks panel.
Aug 4, 2016 at 10:42 comment added anderson done.nothing changed.I think the problem is with as soon as i enter the username manually in the site it sends a get request like this https://nucleus.niituniversity.in/GetLoginData.aspx?username=u101114fcs059&categoryid=3&URL=https://nucleus.niituniversity.in/&TIME=Thu Aug 04 2016 16:09:33 GMT+0530 (India Standard Time) If this happens only the site is generating the schoolId and schoolName etc and other values.otherwise it returns -1 for all values
Aug 4, 2016 at 10:30 comment added Padraic Cunningham Try using with html.parser or if you have lxml use that, the code should have no issue parsing the value
Aug 4, 2016 at 9:45 comment added Padraic Cunningham interesting, what parser are you using?
Aug 4, 2016 at 9:18 comment added anderson this is the site I am trying to login.you can get what's wrong exactly please visit .-nucleus.niituniversity.in
Aug 4, 2016 at 9:04 comment added anderson not working.error-chkSkip = soup.select_one("#SchSel_chkSkip")["value"] File "C:\Python34\lib\site-packages\bs4\element.py", line 958, in __getitem__ return self.attrs[key] KeyError: 'value'
Aug 2, 2016 at 22:33 comment added Padraic Cunningham try pastebin.com/hdBSVyqg
Aug 1, 2016 at 15:42 history edited anderson CC BY-SA 3.0
added 30 characters in body
Aug 1, 2016 at 14:02 comment added anderson I don't know what's wrong.I've tried all.
Aug 1, 2016 at 13:55 comment added anderson User-Agent :Mozilla/5.0 (Windows NT 10.0; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0,cookie:ASP.NET_SessionId=ow0xuxtckpa5aksglq0o5ngl
Aug 1, 2016 at 13:53 comment added Padraic Cunningham What headers are you passing?
Aug 1, 2016 at 13:46 comment added Padraic Cunningham Because you cannot use the the values from your browser, you need to parse them from your session stackoverflow.com/questions/37577405/…
Aug 1, 2016 at 13:40 history asked anderson CC BY-SA 3.0