This repository has been archived by the owner on Feb 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Parse notes from detail page #60
Merged
mergify
merged 19 commits into
scrapd:master
from
mrengler:parse_notes_from_detail_page
Mar 12, 2019
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
e37a76f
Merge pull request #1 from scrapd/master
mrengler 857ee37
Best performing regex for parsing description
c7b3dad
Cleanest descriptions I could grab
fd8c787
YAPF format
191b13a
Updated tests to reflect parsed detail page behavior.
9d22d20
Improved documentation for test changes
69ac239
Saved the best performing regex for parsing description, begin to add…
f26b324
Added parsing logic with cleanest descriptions I could grab.
2cbcecf
Put changed files into YAPF format.
53d2977
Updated tests to reflect parsed detail page behavior.
31ae8e8
Improved documentation for test changes.
6177259
Fixed parse_page logic to meet flake8 complexity standard.
a4cb173
Changed replace() in parser for better legibility.
c406a21
Merge branch 'parse_notes_from_detail_page' of https://github.com/mre…
631b642
Added spaces present in twitter description.
cbabe63
Added more spaces present in twitter description.
55f0c58
Improved documentation and changed Notes from details page to be pars…
9093483
Removed check for Notes entry in results test.
32dcaac
Added test for malformed text input to details page notes parser.
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are a bunch of magic numbers in this function, they could be replaced with something more readable.
An idea would be to define constants and then use their legnth
len()
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea