Comments (2)
Hi, if you pass run_async, the call will return (almost) immediately, and start a thread in the background, but if your main thread quits (which it will, because your main function is done), that thread also gets killed. If you want it to run indefinitely, you could have your main thread do something like while True: time.sleep(1000). Alternatively, just don't pass run_async (in that case, you'd have to handle reconnects yourself, though (catch exceptions around the call to stream_user)
from mastodon.py.
closing as likely resolved, feel free to reopen if not
from mastodon.py.
Related Issues (20)
- MastodonVersionError: Version check failed (Need version 1.1.0) HOT 5
- How to get configured character limit of Mastodon instance HOT 5
- Add Citation for Mastodon.py HOT 3
- Update filter methods to 4.x HOT 2
- Unable to Host bot HOT 8
- media_update return Error 404: Record not found HOT 1
- Event on mentioned? HOT 2
- mastodon.account_search not working correctly? HOT 10
- Deprecate visibility parameter value `private` and use `followers_only` instead HOT 3
- module is installed, but missing library stubs or py.typed marker HOT 5
- scopes = ['read', 'write'] is ret, but the generated url sill contains '+follow+push' HOT 6
- OAuth question HOT 2
- TypeError: exceptions must derive from BaseException HOT 3
- [Question] Is there a way to export lists as CSV? HOT 2
- [Question] scheduling posts and replies HOT 2
- content_type is not ignored on incompatible servers HOT 2
- [question] retrieving most recent status for a user HOT 2
- Disabling Mastodon `stream_user` version check. HOT 7
- docs? getting started issue / UX HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mastodon.py.