Este projeto permite a leitura de tweets via RSS utilizando o RSSHub
Project description
RSSHub Twitter Reader
Este projeto permite a leitura de tweets via RSS utilizando o RSSHub.
Funcionalidades
- Captura tweets de um usuário do X (antigo Twitter) via RSSHub.
- Remove caracteres especiais.
- Calcula um hash MD5 do título para evitar tweets duplicados (coluna: md5_hash_tweet)
- Filtra tweets com base em palavras-chave fornecidas.
- Obtém informações do canal, incluindo nome, descrição, link e última atualização.
Instalação
pip install rsshub-twitter-reader
Como Usar
from rsshub_twitter_reader import RSSHubTwitterReader
rss_reader = RSSHubTwitterReader('einvestidor')
tweets = rss_reader.fetch_rss()
print(tweets)
# Filtrar tweets com palavras-chave
filtered_tweets = rss_reader.filter(['MRVE3', 'VBBR3'])
print(filtered_tweets)
# Obter informações do canal
channel_info = rss_reader.get_info()
print(channel_info)
Dependências
- requests
- pandas
- lxml
📜 License
This project is licensed under the MIT License.
🌟 Feel free to contribute and improve this project!
Final Notes
This project was developed as an educational tool. Feel free to use!
Thank You for Your Support! 🌟
We hope you find our services helpful and enjoyable! If you feel like showing some extra appreciation, why not buy us a coffee?
🍵 Your support not only energizes our team but also helps us keep improving what we do.
To make a small contribution, you can send us a coffee's worth of USDT or Brazilian Instant Payment (PIX) to our QR code. Every coffee counts and keeps us brewing more ideas!
Here's how you can send a USDT coffee
or send USDT to address:
0x3db4d1dd10b60c278f27bd1b2e2bd888d0f99f85
- Scan the QR Code: Open your crypto wallet and scan our USDT QR code.
- Enter the amount: The cost of a coffee - usually around $3 to $5.
- Send your support: Hit send and make our day!
Here's how you can send a PIX coffee
- Scan the QR Code: Open your bank account app and scan our PIX QR code.
- Enter the amount: The cost of a coffee - usually around $3 to $5.
- Send your support: Hit send and make our day!
PIX is a digital payment system in Brazil that allows instant payments 24/7 via mobile phones. If you found this project helpful, please consider buying me a coffee.
Thank you once again for your incredible support and for being a part of our community. Your contribution fuels our passion and commitment.
Author
Flavio Lopes Spreading practical data knowledge for decision making.
Contact
Questions, suggestions, or improvements? Contact me or contribute directly to the repository.
- GitHub: dadosnapratica
- LinkedIn Flavio: Flavio Lopes
- LinkedIn Dados na Pratica: Dados na Pratica
- Email: flavio.lopes@ideiasfactory.tech
- Instagram: @dadosnapratica
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rsshub_twitter_reader-0.0.3.tar.gz.
File metadata
- Download URL: rsshub_twitter_reader-0.0.3.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd287e95874b02d0de52ed18e3c52e297d15ec102bb9f59fb552de42c95b935b
|
|
| MD5 |
50062884ce9e91a7dc5195fa2233c7d7
|
|
| BLAKE2b-256 |
2673d56b7b0db3f5495a1390191418d87dd4ec0f79ada7482b5201244883ddb2
|
File details
Details for the file rsshub_twitter_reader-0.0.3-py3-none-any.whl.
File metadata
- Download URL: rsshub_twitter_reader-0.0.3-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60b94fef482e9b151b342dd2d0c972bb353859761b204b492ad8afb9ffbf1e51
|
|
| MD5 |
5f212d784f3ef94accc5d310729b3de3
|
|
| BLAKE2b-256 |
60d0ed4944cea8c2d613839ee121a184f7369e79d681c73ff3ec8f1ed754661d
|