Bump to 4-0-2 primarily for new download version for ffnet/fpcom fix.

This commit is contained in:
Jim Miller 2011-06-07 19:49:49 -05:00
parent 71ae63e1ea
commit fd2d4a935d
2 changed files with 2 additions and 3 deletions

View file

@ -1,6 +1,6 @@
# fanfictionloader ffd-retief # fanfictionloader ffd-retief
application: fanfictionloader application: fanfictionloader
version: 4-0-1 version: 4-0-2
runtime: python runtime: python
api_version: 1 api_version: 1

View file

@ -199,8 +199,7 @@ class FanFictionNetSiteAdapter(BaseSiteAdapter):
## more if hit too fast. This is in ## more if hit too fast. This is in
## additional to what ever the ## additional to what ever the
## slow_down_sleep_time setting is. ## slow_down_sleep_time setting is.
soup = bs.BeautifulSoup(self._fetchUrl(url), soup = bs.BeautifulSoup(self._fetchUrl(url))
selfClosingTags=('br','hr')) # otherwise soup eats the br/hr tags.
## Remove the 'share' button. ## Remove the 'share' button.
sharediv = soup.find('div', {'class' : 'a2a_kit a2a_default_style'}) sharediv = soup.find('div', {'class' : 'a2a_kit a2a_default_style'})