+ 18

[Solved :-) ] Web Scrapping Not Working

I am trying to scrap data from https://cbseitms.in/cbse/2021/rfinder/RollDetails.aspx to make my new project, and i am trying like this https://code.sololearn.com/cDMnc9NCFgXQ/?ref=app ***Try This On Terminal and install Modules to test this*** and but it not working as expected โ˜น๏ธ What I Am Expecting: i want to send post request to this website and want to fetch roll number like this https://www.sololearn.com/post/1216909/?ref=app if this is wrong way then can you please send correct code? Can You Please Note: I am just scrapping for learning purpose

1st Aug 2021, 7:45 AM
Mask Man(What's in a name?)
Mask Man(What's in a name?) - avatar
37 Answers
+ 2
Thank you Prashanth Kumar, The code that I have make is same but last line is different ๐Ÿ˜…๐Ÿ˜…๐Ÿ˜… https://code.sololearn.com/cUFotdvR1g70/?ref=app Mask Man(What's in a Name?) Edit:Now this is also working ๐Ÿ™‚๐Ÿ™‚๐Ÿ˜Š๐Ÿ˜Š
3rd Aug 2021, 5:57 AM
VSR [ DEV ]
VSR [ DEV ] - avatar
+ 9
bs4 not installed sololearn not offers some library support you need to install it first
1st Aug 2021, 7:51 AM
MEGH
+ 8
Mask Man(What's in a Name?) Try seeing this helpful educational websites. https://linuxhint.com/logging_into_websites_python/ https://www.w3schools.com/JUMP_LINK__&&__python__&&__JUMP_LINK/module_requests.asp https://realpython.com/python-requests/ https://www.geeksforgeeks.org/python-requests-tutorial/ See, you have to know the content of the website page before logging and after logging and keep track of the html elements which contain the information you want to retrieve or where you want to provide information to get some data. I hope it will be helpful for you.
1st Aug 2021, 2:38 PM
Prince Gupta
Prince Gupta - avatar
+ 6
MEGH You Can Try On Terminal
1st Aug 2021, 7:53 AM
Mask Man(What's in a name?)
Mask Man(What's in a name?) - avatar
+ 6
Mask Man(What's in a Name?) I, actually, have not used or tried this modules of Web Scraping. I just found out educational articles related to your query which will help you in figuring out your own solution.
1st Aug 2021, 2:53 PM
Prince Gupta
Prince Gupta - avatar
+ 5
Vats [DEV] Ya, I want to create a website/api in which you have to give input name, school code, father name, mother name and that will return Your roll number
1st Aug 2021, 8:32 AM
Mask Man(What's in a name?)
Mask Man(What's in a name?) - avatar
+ 5
Mask Man(What's in a Name?) see line 47 and also 22 to 25 ( the token was wrong i got it by inspecting with firefox dev tool )
3rd Aug 2021, 5:54 AM
Prashanth Kumar
Prashanth Kumar - avatar
+ 5
Prashanth Kumar Vats [DEV] You Both Are Correct ๐ŸคŸ Everything Is Fine, Thank You Very Much
3rd Aug 2021, 6:11 AM
Mask Man(What's in a name?)
Mask Man(What's in a name?) - avatar
+ 5
Prashanth Kumar ๐Ÿ˜ถ Class 10 students need D.O.B also
4th Aug 2021, 10:44 AM
Mask Man(What's in a name?)
Mask Man(What's in a name?) - avatar
+ 4
ุจุฑุงุก ุงู„ู…ุฏู‡ูˆู† ๐Ÿคจwhy are you spamming ๐Ÿ˜‘
1st Aug 2021, 11:23 AM
Mask Man(What's in a name?)
Mask Man(What's in a name?) - avatar
+ 4
3rd Aug 2021, 6:17 AM
Prashanth Kumar
Prashanth Kumar - avatar
+ 4
Mask Man(What's in a Name?) Vats [DEV] Prashanth Kumar bros agar student name and parents name and school code change kare to output hoga na??
4th Aug 2021, 10:08 AM
Anurag Saikia
+ 4
Anurag Saikia better try inspecting with chrome/firefox dev tools from chrome..
4th Aug 2021, 10:52 AM
Prashanth Kumar
Prashanth Kumar - avatar
+ 3
Vats [DEV] question Updated now see
1st Aug 2021, 8:29 AM
Mask Man(What's in a name?)
Mask Man(What's in a name?) - avatar
+ 3
Mask Man(What's in a Name?) Means you want to scrape with a definite identify.
1st Aug 2021, 8:30 AM
VSR [ DEV ]
VSR [ DEV ] - avatar
1st Aug 2021, 8:39 AM
VSR [ DEV ]
VSR [ DEV ] - avatar
+ 3
Prince Gupta Can You Try To Complete This Project If You Have time?
1st Aug 2021, 2:43 PM
Mask Man(What's in a name?)
Mask Man(What's in a name?) - avatar
+ 3
Harsh Shrivastava Nothing is easy. It depends upon your mind set. And if you want to ask question then please use discussion forum. Don't ask questions in another question.
3rd Aug 2021, 4:20 AM
VSR [ DEV ]
VSR [ DEV ] - avatar
3rd Aug 2021, 5:26 AM
Prashanth Kumar
Prashanth Kumar - avatar
+ 3
Vats [DEV] 10th ke liye kya kare
4th Aug 2021, 10:30 AM
Anurag Saikia