Conversation
… formatting, to print statements and to unnecessary imports, as suggested for @flavioamieiro. Please take a look at this code.
There was a problem hiding this comment.
@veniciusgrjr it is good style to end files with a new linecharacter. can you please fix this?
if you are curious why, read this: http://unix.stackexchange.com/questions/18743/whats-the-point-in-adding-a-new-line-to-the-end-of-a-file
|
We need tests for these crawlers. @veniciusgrjr, are you familiar with unit testing in Python? |
capture/crawler_valor.py
Outdated
There was a problem hiding this comment.
Just for the sake of style I'd remove this space before the close parenthesis. (Also on the line, in the BeautifulSoup instantiation and in some other places bellow).
|
I think the original issues are covered (except for adding the newline at the end of files, please do that). I agree with @fccoelho that it would be great to have unit tests for these. If we can do that, we should. |
…les and to some unnecessary spaces.
|
I fixed de problems related to new linecharacter at the end of the files and to some unnecessary spaces. |
I fixed the problem related to line breaking, to the new style string formatting, to print statements and to unnecessary imports, as suggested for @flavioamieiro.
I also created a crawler for ZH.
Please, take a look at these codes.