-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat(jobs): add twitter-scraper #13
Conversation
Signed-off-by: mudler <[email protected]>
Signed-off-by: mudler <[email protected]>
Signed-off-by: mudler <[email protected]>
"github.com/sirupsen/logrus" | ||
) | ||
|
||
type TweetResult struct { |
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.
this is extracted/adapted from the masa-oracle implementation
return tweets, nil | ||
} | ||
|
||
// End of adapted code from masa-oracle (commit: bf277c646d44c49cc387bc5219c900e96b06dc02) |
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.
in this file,adaptation ends here
@@ -0,0 +1,45 @@ | |||
package twitter |
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.
this package was entirely copied as-is. no changes introduced
Adapted on masa-finance/masa-oracle#638 |
Signed-off-by: mudler <[email protected]>
c0072a2
to
a490356
Compare
Signed-off-by: mudler <[email protected]>
TODO: add twitter tests |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #13 +/- ##
===========================================
- Coverage 57.35% 43.90% -13.45%
===========================================
Files 6 7 +1
Lines 340 476 +136
===========================================
+ Hits 195 209 +14
- Misses 124 245 +121
- Partials 21 22 +1 ☔ View full report in Codecov by Sentry. |
Signed-off-by: mudler <[email protected]>
edf48e5
to
446f675
Compare
Signed-off-by: mudler <[email protected]>
Signed-off-by: mudler <[email protected]>
Signed-off-by: mudler <[email protected]>
Signed-off-by: mudler <[email protected]>
fixes: masa-finance/masa-oracle#613