-
Notifications
You must be signed in to change notification settings - Fork 78
Add --forms arg to scrape, adjust ftp fang regex (SYN-5266, SYN-5234, SYN-5302) #3127
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
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #3127 +/- ##
==========================================
+ Coverage 96.70% 97.19% +0.48%
==========================================
Files 222 222
Lines 44272 44292 +20
==========================================
+ Hits 42814 43050 +236
+ Misses 1458 1242 -216
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
msgs = await core.stormlist('[ media:news=* :title="https://t.c\\\\" ] | scrape :title') | ||
self.stormIsInWarn('BadTypeValue', msgs) | ||
self.stormHasNoWarnErr(msgs) |
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.
we'll need to note the lack of warnings for bad values now
refang = await s_stormtypes.tobool(self.opts.dorefang) | ||
|
||
if not isinstance(forms, (tuple, list, set)): | ||
forms = (forms,) |
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.
Lets also add a split on ,
here so --forms foo:bar,baz:faz
works too 👍
No description provided.