-
Notifications
You must be signed in to change notification settings - Fork 382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tutorials or documentation? #6
Comments
You're right, there should be. There's a small example of form submission in the tests, if it helps. My own code using the library I can't publish. Leaving this open, I'd like to write a Sphinx / readthedocs site. |
Form Submission isn't good. I've just forked and will make some improvements there. Do you have a process for contributing code back? |
Commenting to bring this back up. More in depth form example with submissions on consecutive pages, filling in select field (i mean elements), how to press a button on a page would all be very helpful. |
The github example on the home page is unclear. I'm assuming this section verify we are now logged inmessages = page2.soup.find('div', class_='flash-messages') Checks for a div with that class which should only be present after log in. However, there is no div with class='flash-messages' on the login page or after being logged in. I checked in Chrome's console. the assert statement also didn't print anything when I ran the example. print(page2.soup.title.text) just prints "Github" |
I have some pieces of code using MechanicalSoup here: https://gitlab.com/chamilotools/chamilotools if anyone wants example. I think a "Projects using MechanicalSoup" section could be added to the README of MechanicalSoup so that people looking for examples can find more. |
And another example (unfortunately an account is needed to see it in action, but might be useful as an example of a login/download/unzip-files pattern): |
OK, there's now a tutorial on http://mechanicalsoup.readthedocs.io/en/latest/, and there's a separate issue at #114 to track remaining missing docs. |
Are there any tutorials or documentation available for this? Something a bit more robust than the example of logging into GitHub?
The text was updated successfully, but these errors were encountered: