Skip to content

Commit 1025d75

Browse files
authored
Merge pull request #35 from markowanga/develop
Release version v1.2.1
2 parents 0e55c66 + 4caac35 commit 1025d75

File tree

6 files changed

+13
-3
lines changed

6 files changed

+13
-3
lines changed

.github/workflows/python-package.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ name: Python package
66
on:
77
pull_request:
88
branches: [ master, develop ]
9+
paths-ignore:
10+
- 'README.md'
911
schedule:
1012
- cron: '0 0 * * *'
1113

.github/workflows/python-publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ name: Python package & deploy
66
on:
77
push:
88
branches: [ master ]
9+
paths-ignore:
10+
- 'README.md'
911

1012
jobs:
1113
deploy:

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,14 @@ work and users must report bugs as issues.
3232
pip install -U stweet
3333
```
3434

35+
## Donate
36+
If you want to sponsor me, in thanks for the project, please send me some crypto:
37+
38+
|Coin|Wallet address|
39+
|---|---|
40+
|Bitcoin (segwit)|3EajE9DbLvEmBHLRzjDfG86LyZB4jzsZyg|
41+
|Etherum|0xE43d8C2c7a9af286bc2fc0568e2812151AF9b1FD|
42+
3543
## Basic usage
3644

3745
To make a simple request the scrap **task** must be prepared. The next task should be processed by **runner**.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
setuptools.setup(
1010
name="stweet",
11-
version="1.2.0",
11+
version="1.2.1",
1212
author="Marcin Wątroba",
1313
author_email="[email protected]",
1414
description="Package to scrap tweets",

stweet/search_runner/parse/base_tweet_parser.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ def parse_tweets(self, response_text: str) -> List[Tweet]:
8181

8282
@staticmethod
8383
def _tweet_dict_to_tweet_object(tweet) -> Tweet:
84-
print(json.dumps(tweet))
8584
return Tweet(
8685
created_at=Arrow.fromdatetime(parser.parse(tweet['created_at'])),
8786
id_str=tweet['id_str'],

stweet/search_runner/search_runner.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ def _is_end_of_scrapping(self) -> bool:
6262
def _execute_next_tweets_request(self):
6363
request_params = self._get_next_request_details()
6464
response = self.web_client.run_request(request_params)
65-
# print(response.text)
6665
if response.is_token_expired():
6766
self._refresh_token()
6867
elif response.is_success():

0 commit comments

Comments
 (0)