Conversation
Signed-off-by: mudler <mudler@localai.io>
Signed-off-by: mudler <mudler@localai.io>
Signed-off-by: mudler <mudler@localai.io>
mudler
commented
Nov 26, 2024
| "github.com/sirupsen/logrus" | ||
| ) | ||
|
|
||
| type TweetResult struct { |
Contributor
Author
There was a problem hiding this comment.
this is extracted/adapted from the masa-oracle implementation
mudler
commented
Nov 26, 2024
| return tweets, nil | ||
| } | ||
|
|
||
| // End of adapted code from masa-oracle (commit: bf277c646d44c49cc387bc5219c900e96b06dc02) |
Contributor
Author
There was a problem hiding this comment.
in this file,adaptation ends here
mudler
commented
Nov 26, 2024
| @@ -0,0 +1,45 @@ | |||
| package twitter | |||
Contributor
Author
There was a problem hiding this comment.
this package was entirely copied as-is. no changes introduced
Contributor
Author
|
Adapted on masa-finance/masa-oracle#638 |
Signed-off-by: mudler <mudler@localai.io>
c0072a2 to
a490356
Compare
Signed-off-by: mudler <mudler@localai.io>
Contributor
Author
|
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 <mudler@localai.io>
edf48e5 to
446f675
Compare
Signed-off-by: mudler <mudler@localai.io>
Signed-off-by: mudler <mudler@localai.io>
Signed-off-by: mudler <mudler@localai.io>
Signed-off-by: mudler <mudler@localai.io>
teslashibe
pushed a commit
that referenced
this pull request
Jul 14, 2025
* feat(jobs): add twitter scraper job type Signed-off-by: mudler <mudler@localai.io> * chore: wire-up twitter config Signed-off-by: mudler <mudler@localai.io> * chore: do not re-create scrapers each time Signed-off-by: mudler <mudler@localai.io> * Adapt twitter code to latest changes Signed-off-by: mudler <mudler@localai.io> * chore(fix): populate jobWorkers Signed-off-by: mudler <mudler@localai.io> * chore(tests): add simple twitter test Signed-off-by: mudler <mudler@localai.io> * chore(tests): increase test area Signed-off-by: mudler <mudler@localai.io> * chore(tests): store cookies to cache Signed-off-by: mudler <mudler@localai.io> * correctly map cookie dir Signed-off-by: mudler <mudler@localai.io> * Skip Twitter tests Signed-off-by: mudler <mudler@localai.io> --------- Signed-off-by: mudler <mudler@localai.io>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
fixes: masa-finance/masa-oracle#613