Skip to content
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

mca #59

Open
wants to merge 30 commits into
base: multi-submit
Choose a base branch
from
Open

mca #59

wants to merge 30 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Mar 12, 2016

No description provided.

jmcarp and others added 30 commits July 27, 2014 16:40
Add encode_if_py2 decorator.
Bump version.
[Resolves #25]
…sed InvalidNameError.

This commit ensures that the tests pass no matter the user has installed whichever parsing library with bs4.

**Explanation:**

When using lxml (recommended parser in BeautifulSoup4) the parsing is little different then the inbuilt parser:

    BeautifulSoup('<input name="hi">')
    # gives "<html><body><input name='hi' /></body></html>"
    # while the inbuilt parser gives "<input name='hi' />"
    # Thus the add_field function used to fail by giving InvalidNameError

The parsing of complicated forms is way much better using `lxml` and RoboBrowser compliments it well.
The only issue caused was due to the individual field parsings.
Forcing inbuilt parser for fields parsing fixes the issues with individual fields while ensuring the efficiency of lxml for parsing of forms.
[resolves #39]
[supersedes #38]
[supersedes #37]
[supersedes #35]
[supersedes #32]
* Add `disabled` property on form fields.
* Exclude disabled fields from serialized output.
* Update unit tests.

[Resolves #42]
Method defaults to "get", but can be overridden using the optional
`method` parameter.

[Resolves #27]
Replace magical property creation in metaclass with explicit `@property`
and `@setter` decorators in field classes.
The Genius website (formerly Rap Genius) changed, which broke the
existing documentation example. The search results now include results
matching song title as well as artist, making it difficult to guarantee
the first song would match the artist being searched for. As a result
the example was updated to search for a more unique band name.

[Resolves #33]
Update docs for change to Rap Genius website
Urllib3 comes with good retry logic, which is exposed through the
requests `HTTPAdapter`. Attach retry options to the session adapters and
delete custom retry logic from robobrowser.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants