回答編集履歴

2

f

2020/08/11 23:23

投稿

sfdust
sfdust

スコア1137

test CHANGED
@@ -2,8 +2,6 @@
2
2
 
3
3
  for status in api.search(q=searchWord,count=6):
4
4
 
5
- for url_item in status.entities.get('urls'):
5
+ print("https://twitter.com/{}/status/{}".format(status.user.screen_name,status.id))
6
-
7
- print(url_item.get('expanded_url'))
8
6
 
9
7
  ```

1

f

2020/08/11 23:23

投稿

sfdust
sfdust

スコア1137

test CHANGED
@@ -4,6 +4,6 @@
4
4
 
5
5
  for url_item in status.entities.get('urls'):
6
6
 
7
- print(url_item.get('url'))
7
+ print(url_item.get('expanded_url'))
8
8
 
9
9
  ```