Skip to content

Instantly share code, notes, and snippets.

@chetanambi
Created June 6, 2021 14:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chetanambi/1aa62cde3b2dc6a57eb9487d2b47c8e4 to your computer and use it in GitHub Desktop.
Save chetanambi/1aa62cde3b2dc6a57eb9487d2b47c8e4 to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
{
"nbformat": 4,
"nbformat_minor": 0,
"metadata": {
"colab": {
"name": "TWINT.ipynb",
"provenance": [],
"toc_visible": true
},
"kernelspec": {
"name": "python3",
"display_name": "Python 3"
}
},
"cells": [
{
"cell_type": "markdown",
"metadata": {
"id": "BMbnNwjYarm5"
},
"source": [
"# Install libraries"
]
},
{
"cell_type": "code",
"metadata": {
"id": "_39WY2jB-c3-",
"colab": {
"base_uri": "https://localhost:8080/"
},
"outputId": "ee34c05f-6563-428c-baf0-d1b58bc78ad9"
},
"source": [
"!git clone --depth=1 https://github.com/twintproject/twint.git\n",
"%cd twint\n",
"!pip3 install . -r requirements.txt"
],
"execution_count": 1,
"outputs": [
{
"output_type": "stream",
"text": [
"Cloning into 'twint'...\n",
"remote: Enumerating objects: 47, done.\u001b[K\n",
"remote: Counting objects: 100% (47/47), done.\u001b[K\n",
"remote: Compressing objects: 100% (44/44), done.\u001b[K\n",
"remote: Total 47 (delta 3), reused 14 (delta 0), pack-reused 0\u001b[K\n",
"Unpacking objects: 100% (47/47), done.\n",
"/content/twint\n",
"Processing /content/twint\n",
"Collecting aiohttp\n",
"\u001b[?25l Downloading https://files.pythonhosted.org/packages/88/c0/5890b4c8b04a79b7360e8fe4490feb0bb3ab179743f199f0e6220cebd568/aiohttp-3.7.4.post0-cp37-cp37m-manylinux2014_x86_64.whl (1.3MB)\n",
"\u001b[K |████████████████████████████████| 1.3MB 4.9MB/s \n",
"\u001b[?25hCollecting aiodns\n",
" Downloading https://files.pythonhosted.org/packages/ab/72/991ee33a517df69c6cd6f3486cfe9b6329557cb55acaa8cefac33c2aa4d2/aiodns-3.0.0-py3-none-any.whl\n",
"Requirement already satisfied: beautifulsoup4 in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 3)) (4.6.3)\n",
"Collecting cchardet\n",
"\u001b[?25l Downloading https://files.pythonhosted.org/packages/80/72/a4fba7559978de00cf44081c548c5d294bf00ac7dcda2db405d2baa8c67a/cchardet-2.1.7-cp37-cp37m-manylinux2010_x86_64.whl (263kB)\n",
"\u001b[K |████████████████████████████████| 266kB 20.4MB/s \n",
"\u001b[?25hCollecting dataclasses\n",
" Downloading https://files.pythonhosted.org/packages/26/2f/1095cdc2868052dd1e64520f7c0d5c8c550ad297e944e641dbf1ffbb9a5d/dataclasses-0.6-py3-none-any.whl\n",
"Collecting elasticsearch\n",
"\u001b[?25l Downloading https://files.pythonhosted.org/packages/ab/b1/58cfb0bf54e29c20669d6e588496fb7fe8b54f53bc238be4cb0a185a1e76/elasticsearch-7.13.1-py2.py3-none-any.whl (354kB)\n",
"\u001b[K |████████████████████████████████| 358kB 18.3MB/s \n",
"\u001b[?25hRequirement already satisfied: pysocks in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 7)) (1.7.1)\n",
"Requirement already satisfied: pandas>=0.23.0 in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 8)) (1.1.5)\n",
"Collecting aiohttp_socks<=0.4.1\n",
" Downloading https://files.pythonhosted.org/packages/72/55/c00bf359a54c1438ac0fe36f9bba9538c912138f033897d4e95ddd8cc772/aiohttp_socks-0.4.1-py3-none-any.whl\n",
"Collecting schedule\n",
" Downloading https://files.pythonhosted.org/packages/eb/3b/040bd180eaef427dd160562ee66adc9f4f67088185c272edcdb899c609c7/schedule-1.1.0-py2.py3-none-any.whl\n",
"Requirement already satisfied: geopy in /usr/local/lib/python3.7/dist-packages (from -r requirements.txt (line 11)) (1.17.0)\n",
"Collecting fake-useragent\n",
" Downloading https://files.pythonhosted.org/packages/d1/79/af647635d6968e2deb57a208d309f6069d31cb138066d7e821e575112a80/fake-useragent-0.1.11.tar.gz\n",
"Collecting googletransx\n",
" Downloading https://files.pythonhosted.org/packages/27/e1/77cd530afec7944d40c5bdd260bcc111be4012b045c82d4e3ffec90b2a42/googletransx-2.4.2.tar.gz\n",
"Requirement already satisfied: chardet<5.0,>=2.0 in /usr/local/lib/python3.7/dist-packages (from aiohttp->-r requirements.txt (line 1)) (3.0.4)\n",
"Requirement already satisfied: typing-extensions>=3.6.5 in /usr/local/lib/python3.7/dist-packages (from aiohttp->-r requirements.txt (line 1)) (3.7.4.3)\n",
"Collecting multidict<7.0,>=4.5\n",
"\u001b[?25l Downloading https://files.pythonhosted.org/packages/7c/a6/4123b8165acbe773d1a8dc8e3f0d1edea16d29f7de018eda769abb56bd30/multidict-5.1.0-cp37-cp37m-manylinux2014_x86_64.whl (142kB)\n",
"\u001b[K |████████████████████████████████| 143kB 23.2MB/s \n",
"\u001b[?25hCollecting async-timeout<4.0,>=3.0\n",
" Downloading https://files.pythonhosted.org/packages/e1/1e/5a4441be21b0726c4464f3f23c8b19628372f606755a9d2e46c187e65ec4/async_timeout-3.0.1-py3-none-any.whl\n",
"Collecting yarl<2.0,>=1.0\n",
"\u001b[?25l Downloading https://files.pythonhosted.org/packages/f1/62/046834c5fc998c88ab2ef722f5d42122230a632212c8afa76418324f53ff/yarl-1.6.3-cp37-cp37m-manylinux2014_x86_64.whl (294kB)\n",
"\u001b[K |████████████████████████████████| 296kB 18.7MB/s \n",
"\u001b[?25hRequirement already satisfied: attrs>=17.3.0 in /usr/local/lib/python3.7/dist-packages (from aiohttp->-r requirements.txt (line 1)) (21.2.0)\n",
"Collecting pycares>=4.0.0\n",
"\u001b[?25l Downloading https://files.pythonhosted.org/packages/aa/36/6328afbcc7591ff51a6d6c8c89fe1d53d3030d48aea74e36bab0ed8e2c3c/pycares-4.0.0-cp37-cp37m-manylinux2010_x86_64.whl (291kB)\n",
"\u001b[K |████████████████████████████████| 296kB 24.6MB/s \n",
"\u001b[?25hRequirement already satisfied: certifi in /usr/local/lib/python3.7/dist-packages (from elasticsearch->-r requirements.txt (line 6)) (2020.12.5)\n",
"Requirement already satisfied: urllib3<2,>=1.21.1 in /usr/local/lib/python3.7/dist-packages (from elasticsearch->-r requirements.txt (line 6)) (1.24.3)\n",
"Requirement already satisfied: numpy>=1.15.4 in /usr/local/lib/python3.7/dist-packages (from pandas>=0.23.0->-r requirements.txt (line 8)) (1.19.5)\n",
"Requirement already satisfied: python-dateutil>=2.7.3 in /usr/local/lib/python3.7/dist-packages (from pandas>=0.23.0->-r requirements.txt (line 8)) (2.8.1)\n",
"Requirement already satisfied: pytz>=2017.2 in /usr/local/lib/python3.7/dist-packages (from pandas>=0.23.0->-r requirements.txt (line 8)) (2018.9)\n",
"Requirement already satisfied: geographiclib<2,>=1.49 in /usr/local/lib/python3.7/dist-packages (from geopy->-r requirements.txt (line 11)) (1.50)\n",
"Requirement already satisfied: requests in /usr/local/lib/python3.7/dist-packages (from googletransx->-r requirements.txt (line 13)) (2.23.0)\n",
"Requirement already satisfied: idna>=2.0 in /usr/local/lib/python3.7/dist-packages (from yarl<2.0,>=1.0->aiohttp->-r requirements.txt (line 1)) (2.10)\n",
"Requirement already satisfied: cffi>=1.5.0 in /usr/local/lib/python3.7/dist-packages (from pycares>=4.0.0->aiodns->-r requirements.txt (line 2)) (1.14.5)\n",
"Requirement already satisfied: six>=1.5 in /usr/local/lib/python3.7/dist-packages (from python-dateutil>=2.7.3->pandas>=0.23.0->-r requirements.txt (line 8)) (1.15.0)\n",
"Requirement already satisfied: pycparser in /usr/local/lib/python3.7/dist-packages (from cffi>=1.5.0->pycares>=4.0.0->aiodns->-r requirements.txt (line 2)) (2.20)\n",
"Building wheels for collected packages: fake-useragent, googletransx, twint\n",
" Building wheel for fake-useragent (setup.py) ... \u001b[?25l\u001b[?25hdone\n",
" Created wheel for fake-useragent: filename=fake_useragent-0.1.11-cp37-none-any.whl size=13501 sha256=f23d663f19fc8434e43557b710675711b2ae64db62a05878ef08c54ccaf59284\n",
" Stored in directory: /root/.cache/pip/wheels/5e/63/09/d1dc15179f175357d3f5c00cbffbac37f9e8690d80545143ff\n",
" Building wheel for googletransx (setup.py) ... \u001b[?25l\u001b[?25hdone\n",
" Created wheel for googletransx: filename=googletransx-2.4.2-cp37-none-any.whl size=15970 sha256=a8d8518437b7be18f6e740857aad1943e9149d0eb37635e6c01501567caaf8f8\n",
" Stored in directory: /root/.cache/pip/wheels/04/63/5f/75e7e94eb62517946116a783e4cd8970c4789c990bbc732616\n",
" Building wheel for twint (setup.py) ... \u001b[?25l\u001b[?25hdone\n",
" Created wheel for twint: filename=twint-2.1.21-cp37-none-any.whl size=38872 sha256=1630195388dc0e9ad3e51d902902ba0b7c62f1597278fc288476038f3fff06fa\n",
" Stored in directory: /tmp/pip-ephem-wheel-cache-253iyvok/wheels/c9/bb/bd/2b559954ecc4f4905266df71e9f2e08268750df0fa1ec1a4d2\n",
"Successfully built fake-useragent googletransx twint\n",
"Installing collected packages: multidict, async-timeout, yarl, aiohttp, pycares, aiodns, cchardet, dataclasses, elasticsearch, aiohttp-socks, schedule, fake-useragent, googletransx, twint\n",
"Successfully installed aiodns-3.0.0 aiohttp-3.7.4.post0 aiohttp-socks-0.4.1 async-timeout-3.0.1 cchardet-2.1.7 dataclasses-0.6 elasticsearch-7.13.1 fake-useragent-0.1.11 googletransx-2.4.2 multidict-5.1.0 pycares-4.0.0 schedule-1.1.0 twint-2.1.21 yarl-1.6.3\n"
],
"name": "stdout"
}
]
},
{
"cell_type": "code",
"metadata": {
"id": "vBpCbxpo-dw9"
},
"source": [
"import nest_asyncio\n",
"nest_asyncio.apply()"
],
"execution_count": 2,
"outputs": []
},
{
"cell_type": "code",
"metadata": {
"id": "Ct_J-nSQanO7"
},
"source": [
"import twint"
],
"execution_count": 3,
"outputs": []
},
{
"cell_type": "markdown",
"metadata": {
"id": "DkS_sOqpbZ6n"
},
"source": [
"# Scrape the tweets of user"
]
},
{
"cell_type": "code",
"metadata": {
"id": "fpWmTGkDNQS0",
"colab": {
"base_uri": "https://localhost:8080/"
},
"outputId": "19e7648d-ffa1-4d06-92f3-ae120f1e2292"
},
"source": [
"# Configure\n",
"c = twint.Config()\n",
"c.Username = \"sonusood\"\n",
"c.Limit = 2\n",
"\n",
"# Run\n",
"twint.run.Search(c)"
],
"execution_count": 4,
"outputs": [
{
"output_type": "stream",
"text": [
"1401535336337993738 2021-06-06 13:43:58 +0000 <SonuSood> मेरा देश मेरी ज़िम्मेदारी 🇮🇳\n",
"1401524128675287049 2021-06-06 12:59:25 +0000 <SonuSood> यशिका कल के भारत की नई तस्वीर है। गर्व है ऐसे माता पिता पर 🙏🇮🇳\n",
"1401521911247429632 2021-06-06 12:50:37 +0000 <SonuSood> Consider it done ✅ @SoodFoundation\n",
"1401521608968138756 2021-06-06 12:49:25 +0000 <SonuSood> Tell your aunt not to worry,will be done ☑️ @SoodFoundation 🇮🇳\n",
"1401520961594089484 2021-06-06 12:46:50 +0000 <SonuSood> Tell you your father not to worry, I am there ❣️🙏 @SoodFoundation 🇮🇳\n",
"1401442851335016456 2021-06-06 07:36:27 +0000 <SonuSood> Tell your mom not to worry✅ @SoodFoundation 🇮🇳\n",
"1401414561954091011 2021-06-06 05:44:03 +0000 <SonuSood> O2 on your way. @HothurGivesback @ips_sudhakar @Ajaypratap777 @IamRjamit. @Hsudan11 @BikesSwag @SoodFoundation 🇮🇳 https://t.co/oF2NYat6co\n",
"1401380443094536195 2021-06-06 03:28:28 +0000 <SonuSood> I woke up with the news that her mom also passed away just now. Now this little girl is all alone. Please come forward and support such families. They need you. If you can't, let me know,I will. Life is so unfair. 💔\n",
"1401229868600225794 2021-06-05 17:30:08 +0000 <SonuSood> There are many stories like these that I have experienced very closely in last few days. We get to know only about few. It's high time that the previleged ones come forward and support such needy families. They need us. Please find them because they might not be able to find u🙏\n",
"1401229866968576007 2021-06-05 17:30:08 +0000 <SonuSood> City: Nagpur Day:1 Mother, Father, Brother &amp; Sister all tested positive. Day:7 Brother dies, Mom n Dad who are critical are not informed. Day:9 Father dies without knowing the son passed away 2 days ago. Day:10 Mother is very critical. Only survivor is this 19 yr old girl💔\n",
"1401133094615150592 2021-06-05 11:05:36 +0000 <SonuSood> #Throwback to the modelling days in Mumbai. https://t.co/Fxpc9KDwEJ\n",
"1401132849906917377 2021-06-05 11:04:37 +0000 <SonuSood> You are a Star 🌟\n",
"1401121032145018882 2021-06-05 10:17:40 +0000 <SonuSood> This is so awesome 🙏\n",
"1401075698005987328 2021-06-05 07:17:31 +0000 <SonuSood> सफल बनना आसान, सरल बनना मुश्किल।\n",
"1401063426521133057 2021-06-05 06:28:46 +0000 <SonuSood> World's cutest kid 😍 @SoodFoundation 🇮🇳\n",
"1401063176603533325 2021-06-05 06:27:46 +0000 <SonuSood> 🙏\n",
"1401062957761449984 2021-06-05 06:26:54 +0000 <SonuSood> Today's best news ❣️ @SoodFoundation 🇮🇳\n",
"1401062143265415180 2021-06-05 06:23:40 +0000 <SonuSood> समझो हो गया ✅\n",
"1400861045376262144 2021-06-04 17:04:34 +0000 <SonuSood> Someone asked me how do you make things happen so quickly? I said: \"I don't think twice before calling up someone I don't know, to help someone I don't know\"\n",
"1400858200694353922 2021-06-04 16:53:16 +0000 <SonuSood> Iam so sorry for your brother. I am Already in touch with the authorities in Doha. Will make sure that we bring your brother back to India. 🇮🇳\n",
"1400768507155861507 2021-06-04 10:56:51 +0000 <SonuSood> Do let me know if you need more. No one should sleep hungry. @SoodFoundation 🇮🇳\n",
"1400767986508521481 2021-06-04 10:54:47 +0000 <SonuSood> Food truck will reach today ☑️ @SoodFoundation 🇮🇳\n",
"1400750446113742855 2021-06-04 09:45:05 +0000 <SonuSood> Anything, Anywhere, Anytime bhai 🙏 @SoodFoundation\n",
"1400749811700174855 2021-06-04 09:42:34 +0000 <SonuSood> Not to worry, Patient admitted in Agrasen Hospital ✅ @rationalrishi @Priti_Damle @hudsonmisal1989 @SoodFoundation 🇮🇳\n",
"1400682678890876929 2021-06-04 05:15:48 +0000 <SonuSood> My duty🙏 @SoodFoundation 🇮🇳\n",
"1400525876106649601 2021-06-03 18:52:44 +0000 <SonuSood> According to the IMA, 748 Doctors died in the 1st wave &amp; 624 in the 2nd. We must remember we all owe it to them and thier families. Respect 🙏\n",
"1400474076834000907 2021-06-03 15:26:54 +0000 <SonuSood> मां से कीमती कुछ नहीं ❣️\n",
"1400473882562203648 2021-06-03 15:26:07 +0000 <SonuSood> My duty sir 🙏 @SoodFoundation 🇮🇳\n",
"1400473687216648197 2021-06-03 15:25:21 +0000 <SonuSood> ऊपर वाला है ना, सब ठीक होगा 🙏\n",
"1400434486026948612 2021-06-03 12:49:34 +0000 <SonuSood> O2 will never stop. @SoodFoundation🇮🇳 @HothurGivesback @deepolice12 @BikesSwag @Ajaypratap777 @iamrjamit @prakruthi1 https://t.co/zhxmCBQ4F3\n",
"1400426637930291202 2021-06-03 12:18:23 +0000 <SonuSood> Nothing will happen to Ms Tapu Mishra🇮🇳\n",
"1400373276472320001 2021-06-03 08:46:21 +0000 <SonuSood> इंसानियत की गिनती इंसानों से बड़ जाए तो देश अपने आप बदल जायेगा।\n",
"1400353756269580289 2021-06-03 07:28:47 +0000 <SonuSood> मेरा देश मेरी ज़िम्मेदारी🙏 @SoodFoundation 🇮🇳\n",
"1400326404818890755 2021-06-03 05:40:06 +0000 <SonuSood> All these villages will get the ration today. Lets come together to get these families on their feet. I am with you 🙏 @SoodFoundation 🇮🇳\n",
"1400325264622505988 2021-06-03 05:35:34 +0000 <SonuSood> Rabb Rakha 🙏 @SoodFoundation 🇮🇳\n",
"1400143839340363778 2021-06-02 17:34:39 +0000 <SonuSood> I also pray to the almighty that these be of minimal use and everyone stays safe 🙏\n",
"1400119973419180036 2021-06-02 15:59:49 +0000 <SonuSood> Every village will have their own mortuary freezer box with in a week's time. ✅ Thanks for bringing to my notice. @SoodFoundation 🇮🇳\n",
"1400004676272070656 2021-06-02 08:21:40 +0000 <SonuSood> The Hope Issue ❤️ @CosmoIndia https://t.co/sq101P5l4M\n",
"1399961270992867338 2021-06-02 05:29:11 +0000 <SonuSood> Consider this liver transplant surgery done ☑️ Tell the little angel, she will recover and go home soon. Thank you @Rch_india @dineshchirla Globalhospital, Dr Prashant, Dr Srinivas Reddy &amp; his team. @SoodFoundation 🇮🇳\n",
"1399955786021756928 2021-06-02 05:07:23 +0000 <SonuSood> गरीब के मदद के लिए बंधे हाथ, हर कामयाब व्यक्ति की असफलता का चिन्ह होते हैं।\n",
"1399776597947797506 2021-06-01 17:15:22 +0000 <SonuSood> ..was coming. When u lose someone, u wish u could save someone. Another 29 year young bodybuider whom we saved is now critical in a hospital in telangana.Spoke to the inconsolable sister for 20 mins and gave her hope. Feel very sad to see so much of sorrow around. God be kind🙏\n",
"1399776595682816004 2021-06-01 17:15:21 +0000 <SonuSood> A 25 years boy whom we were trying to save, lost his battle to covid today. All these days despite knowing that his survival chances of survival were minimal. l would speak to the doctor everyday with hope.Never had the guts to share the reality with his parents, who knew what\n",
"1399763287684702213 2021-06-01 16:22:28 +0000 <SonuSood> इस से खूबसूरत कुछ नहीं ❣️ @SoodFoundation 🇮🇳\n",
"1399761733129023488 2021-06-01 16:16:18 +0000 <SonuSood> यह बच्चा आज अपने घर पहुंच जायेगा ✅ @SoodFoundation 🇮🇳\n",
"1399761311421009923 2021-06-01 16:14:37 +0000 <SonuSood> We will make sure no one will die of hunger in this country 🇮🇳 @SoodFoundation 🇮🇳\n",
"1399683834602418182 2021-06-01 11:06:45 +0000 <SonuSood> Same here sir. Will get some delicacies for you from Mumbai and you have to keep the Hyderabad biryani ready, really soon.🙏🇮🇳\n",
"1399634047760932867 2021-06-01 07:48:55 +0000 <SonuSood> Yes brother, I will keep this mission ON. Completely looking forward to meet you, when I come to Hyderabad Next! You have been an inspiration for many!\n",
"1399603323762708482 2021-06-01 05:46:50 +0000 <SonuSood> O2 for Bellary ☑️ @SoodFoundation 🇮🇳 @HothurGivesback @deepolice @BikesSwag @Ajaypratap777 @iamrjamit @prakruthi1 https://t.co/lEPPYt8fPz\n",
"1399586687974400000 2021-06-01 04:40:44 +0000 <SonuSood> Thank you so much sir for your kind words! But you are truly a hero who has done so much for Telengana. The state has developed so much under your leadership. I consider Telengana as my second Home as its my place of work &amp; the people have shown me so much love over the years🇮🇳\n",
"1399404285583003648 2021-05-31 16:35:56 +0000 <SonuSood> God is great🙏☑️\n",
"1399403846347091971 2021-05-31 16:34:11 +0000 <SonuSood> Nothing will happen to your wife 🙏\n",
"1399375847966928898 2021-05-31 14:42:55 +0000 <SonuSood> Your dad will recover soon 🇮🇳\n",
"1399375576708698114 2021-05-31 14:41:51 +0000 <SonuSood> Won't let anything happen to the father.🇮🇳\n",
"1399375198399258628 2021-05-31 14:40:21 +0000 <SonuSood> Stay positive. Will happen. 🇮🇳\n",
"1399302462461206529 2021-05-31 09:51:19 +0000 <SonuSood> With the blessings of Lord Balaji. Consider this done 🙏 Dr. Veereswar Rao, Mr. Kondapalli J Prem Kumar Sankalpa superspeciality hospital Tirupathi @SoodFoundation 🇮🇳\n",
"1399270165615763464 2021-05-31 07:42:59 +0000 <SonuSood> Consider the surgery done ✅ #srcchospital @SoodFoundation🇮🇳\n",
"1399269693144264704 2021-05-31 07:41:06 +0000 <SonuSood> Humbled bhaji You are the best ❣️🙏\n",
"1399208001626513408 2021-05-31 03:35:58 +0000 <SonuSood> Oh Wow, How time flies..This will always remain as one of my most special film❣️#ShaeedEAzamBhagatSingh\n",
"1399206874864443397 2021-05-31 03:31:29 +0000 <SonuSood> Humbled 🙏\n",
"1399205906198392833 2021-05-31 03:27:38 +0000 <SonuSood> मुश्किल समय, मुश्किल में पड़े लोगों के लिए नहीं, आराम की जिंदगी जीने वालों के लिए परीक्षा की घड़ी होता है।\n",
"1399195353912463364 2021-05-31 02:45:42 +0000 <SonuSood> Citizens of our country, Our responsibility 🙏 @SoodFoundation 🇮🇳\n",
"1399049595582222339 2021-05-30 17:06:31 +0000 <SonuSood> One tweet is that makes all the difference, One tweet is that can save a life. Jai hind 🇮🇳 @SoodFoundation 🙏\n",
"1399033545851473927 2021-05-30 16:02:44 +0000 <SonuSood> खोज खत्म दवाई मिल जायेगी। ☑️ @SoodFoundation 🇮🇳\n",
"1399032828600328200 2021-05-30 15:59:53 +0000 <SonuSood> चिंता मत कर भाई आपकी बहन की सर्जरी समझो हो गई। @SoodFoundation 🇮🇳\n",
"1398940194187870208 2021-05-30 09:51:48 +0000 <SonuSood> There is nothing called Impossible ❣️ @medanta #indore #drdixitdean @Shobhit_1702 @SoodFoundation 🇮🇳\n",
"1398939912271917058 2021-05-30 09:50:40 +0000 <SonuSood> हो जायेगा ☑️ @shobhit_1702 @vishallamba20 @SoodFoundation 🇮🇳\n",
"1398926403270156289 2021-05-30 08:56:59 +0000 <SonuSood> There was a day when I had sent my pictures from Punjab for an audition of Stardust, but got rejected. Today want to thank Stardust for this lovely cover. Humbled ❣️🙏 @sumita11 @Stardust_Magna @vedishnaidu @ashok_dhamankar https://t.co/lQj6CLgxg3\n",
"1398901517877268485 2021-05-30 07:18:06 +0000 <SonuSood> Seeing his popularity my Milkman Guddu has increased the milk prices by 10 Rupees per litre.😂 Kindly bear https://t.co/JXhy6Np0S5\n",
"1398884398347423747 2021-05-30 06:10:05 +0000 <SonuSood> I am a vegetarian.. N mutton shop on my name?🙈 Can I help him open something vegetarian 😄\n",
"1398855933002850310 2021-05-30 04:16:58 +0000 <SonuSood> अपने कदमों की काबिलियत पर विश्वास रख, तेरी मंजिल तुझे अपने आप ढूंढ लेगी।\n",
"1398751657974845440 2021-05-29 21:22:37 +0000 <SonuSood> 2.52 am पिछले 18 घंटों में 60% केस ही हल कर पाए। अब लगता हैं दिन में 24 घंटे कम क्यों लगते हैं। कल ,आज से बेहतर होगा🙏🇮🇳\n",
"1398665257535500291 2021-05-29 15:39:17 +0000 <SonuSood> Arranged and delivered ☑️ Thanks #dcmeghapawar @SoodFoundation 🇮🇳\n",
"1398630328680341507 2021-05-29 13:20:30 +0000 <SonuSood> Anything for Rajasthan, Oxygen concentrators delivered ✅ @SoodFoundation 🇮🇳\n",
"1398621836649238529 2021-05-29 12:46:45 +0000 <SonuSood> मिलिए यह हैं दुनिया के सबसे अमीर बच्चे, और दुनिया का सबसे बड़ा बैंक. आपके 16530 रुपए हमारी सबसे कीमती डोनेशन है। आपके माता पिता को प्रणाम 🙏 आपके जैसे चंद बच्चे पूरा देश बदल सकते हैं 🇮🇳 @SoodFoundation\n",
"1398599428890451973 2021-05-29 11:17:43 +0000 <SonuSood> Won't let any oxymeter show this reading. 🙏\n",
"1398598895110742020 2021-05-29 11:15:35 +0000 <SonuSood> बारिश हो या तुफान मां के लिए कहीं भी, कुछ भी ❣️ @SoodFoundation 🇮🇳\n",
"1398565328234237960 2021-05-29 09:02:12 +0000 <SonuSood> Let's change this world together. @SoodFoundation 🇮🇳\n",
"1398530210945912837 2021-05-29 06:42:40 +0000 <SonuSood> Mom's are precious. Iam with you, lining up her treatment. Wishing her a speedy recovery 🙏 @SoodFoundation 🇮🇳\n",
"1398503600465186821 2021-05-29 04:56:55 +0000 <SonuSood> Medicines delivered ✅ @mayankarora4666 @SoodFoundation 🇮🇳\n",
"1398503136856207362 2021-05-29 04:55:05 +0000 <SonuSood> Your last hope won't let you down. Will be done.☑️ @Shobhit_1702 @vishallamba20 @SoodFoundation 🇮🇳\n",
"1398271567843389440 2021-05-28 13:34:55 +0000 <SonuSood> Lines OPEN again. Register on https://t.co/0uwlZWQWTO to get your Free Oxygen Concentrator. (Emergency Use) Thank You partners @tushti_india @DTDCIndia @Gupshup @k2sconsult @SoodFoundation https://t.co/LBgOSmh1fp\n",
"1398236680138543109 2021-05-28 11:16:17 +0000 <SonuSood> My country My responsibility 🇮🇳 https://t.co/ofMiSJ65Qu\n",
"1398186110342242309 2021-05-28 07:55:20 +0000 <SonuSood> मेरे दूध वाले गुड्डू ने भी हाथ खड़े कर दिए हैं😂 He can't handle the pressure now😆 Everyone who wants to know how I do it, come and stay with me for a day🤗 https://t.co/dDjH9Jv97d\n",
"1398148334678773764 2021-05-28 05:25:13 +0000 <SonuSood> जिंदगी में, एक बात तो तय है, कि.. तय कुछ भी नहीं ।\n",
"1397847782057136137 2021-05-27 09:30:56 +0000 <SonuSood> Bed has been arranged at AIIMS Jodhpur. Taking the patient now to the OT. Wishing a speedy recovery. #CMHO @SoodFoundation 🇮🇳\n",
"1397783221815762945 2021-05-27 05:14:24 +0000 <SonuSood> अरे, समझो हो गया ☑️ सर्जरी फिक्स करवा दी है। #SRCCHOSPITAL @agarwalbalmohan @SoodFoundation 🇮🇳\n",
"1397782622634266625 2021-05-27 05:12:01 +0000 <SonuSood> Parents are precious, so anything for them ❣️🙏 @SoodFoundation 🇮🇳\n",
"1397782229749694464 2021-05-27 05:10:27 +0000 <SonuSood> Medicines delivered ☑️ Thanks for your support @BennyFe58650336 @keyursavla2 @IndiGo6e @SoodFoundation 🇮🇳\n",
"1397766398617677824 2021-05-27 04:07:33 +0000 <SonuSood> Meet the new SUPERSTAR ❣️\n",
"1397756216189677569 2021-05-27 03:27:05 +0000 <SonuSood> This made my day. Humbled🙏\n",
"1397571162729717762 2021-05-26 15:11:45 +0000 <SonuSood> येह तेरे या मेरे नहीं, सब के घर की बात है। हम सब के घर की बात है। #GharKiBaat @WakefitCo https://t.co/4UZvynqMYk\n",
"1397467551978774538 2021-05-26 08:20:02 +0000 <SonuSood> समझो पहुंच गया ☑️ @SoodFoundation 🇮🇳\n",
"1397442107615289344 2021-05-26 06:38:56 +0000 <SonuSood> O2 #hubbali @KaRailwayPolice @deepolice12 @HothurGivesBack @bikesSwag @Ajaypratap777 @iamRJamit @SoodFoundation https://t.co/HWMrJDbjZI\n",
"1397417783743287297 2021-05-26 05:02:17 +0000 <SonuSood> एक दम हीरो लग रहे हो माजिद भाई हमेशा खुश रहें 🙏 @SoodFoundation 🇮🇳\n",
"1397383683015798786 2021-05-26 02:46:46 +0000 <SonuSood> कुछ नहीं होने देंगे। ऑक्सीजन कंसेंटरेटर 24 घंटे में पहुंच जायेगा☑️ @SoodFoundation 🇮🇳\n",
"1397383184770166785 2021-05-26 02:44:48 +0000 <SonuSood> In next 24 hours it will reach at your home in Varanasi ☑️ @SoodFoundation 🇮🇳\n",
"1397382253869600769 2021-05-26 02:41:06 +0000 <SonuSood> It's done ☑️\n",
"1397382129529483266 2021-05-26 02:40:36 +0000 <SonuSood> Video of the day, so proud of you❣️\n",
"1397381718634491910 2021-05-26 02:38:58 +0000 <SonuSood> मुश्किल समय ही अपनो की पहचान करवाता है।\n",
"1397229406234492940 2021-05-25 16:33:44 +0000 <SonuSood> O2 @HothurGivesBack @bikesSwag @Ajaypratap777 @iamRJamit @SoodFoundation 🇮🇳 https://t.co/NAKTS84ZdB\n"
],
"name": "stdout"
}
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "VDGVeeV9agaT"
},
"source": [
"# Scrape the tweets from specific date"
]
},
{
"cell_type": "code",
"metadata": {
"id": "dYmTf5EYoNZD",
"colab": {
"base_uri": "https://localhost:8080/"
},
"outputId": "468f7ddc-a425-4f39-d122-621a676b502f"
},
"source": [
"# Configure\n",
"c = twint.Config()\n",
"c.Username = \"sonusood\"\n",
"c.Limit = 1\n",
"c.Since = '2021-06-05'\n",
"\n",
"# Run\n",
"twint.run.Search(c)"
],
"execution_count": 5,
"outputs": [
{
"output_type": "stream",
"text": [
"1401535336337993738 2021-06-06 13:43:58 +0000 <SonuSood> मेरा देश मेरी ज़िम्मेदारी 🇮🇳\n",
"1401524128675287049 2021-06-06 12:59:25 +0000 <SonuSood> यशिका कल के भारत की नई तस्वीर है। गर्व है ऐसे माता पिता पर 🙏🇮🇳\n",
"1401521911247429632 2021-06-06 12:50:37 +0000 <SonuSood> Consider it done ✅ @SoodFoundation\n",
"1401521608968138756 2021-06-06 12:49:25 +0000 <SonuSood> Tell your aunt not to worry,will be done ☑️ @SoodFoundation 🇮🇳\n",
"1401520961594089484 2021-06-06 12:46:50 +0000 <SonuSood> Tell you your father not to worry, I am there ❣️🙏 @SoodFoundation 🇮🇳\n",
"1401442851335016456 2021-06-06 07:36:27 +0000 <SonuSood> Tell your mom not to worry✅ @SoodFoundation 🇮🇳\n",
"1401414561954091011 2021-06-06 05:44:03 +0000 <SonuSood> O2 on your way. @HothurGivesback @ips_sudhakar @Ajaypratap777 @IamRjamit. @Hsudan11 @BikesSwag @SoodFoundation 🇮🇳 https://t.co/oF2NYat6co\n",
"1401380443094536195 2021-06-06 03:28:28 +0000 <SonuSood> I woke up with the news that her mom also passed away just now. Now this little girl is all alone. Please come forward and support such families. They need you. If you can't, let me know,I will. Life is so unfair. 💔\n",
"1401229868600225794 2021-06-05 17:30:08 +0000 <SonuSood> There are many stories like these that I have experienced very closely in last few days. We get to know only about few. It's high time that the previleged ones come forward and support such needy families. They need us. Please find them because they might not be able to find u🙏\n",
"1401229866968576007 2021-06-05 17:30:08 +0000 <SonuSood> City: Nagpur Day:1 Mother, Father, Brother &amp; Sister all tested positive. Day:7 Brother dies, Mom n Dad who are critical are not informed. Day:9 Father dies without knowing the son passed away 2 days ago. Day:10 Mother is very critical. Only survivor is this 19 yr old girl💔\n",
"1401133094615150592 2021-06-05 11:05:36 +0000 <SonuSood> #Throwback to the modelling days in Mumbai. https://t.co/Fxpc9KDwEJ\n",
"1401132849906917377 2021-06-05 11:04:37 +0000 <SonuSood> You are a Star 🌟\n",
"1401121032145018882 2021-06-05 10:17:40 +0000 <SonuSood> This is so awesome 🙏\n",
"1401075698005987328 2021-06-05 07:17:31 +0000 <SonuSood> सफल बनना आसान, सरल बनना मुश्किल।\n",
"1401063426521133057 2021-06-05 06:28:46 +0000 <SonuSood> World's cutest kid 😍 @SoodFoundation 🇮🇳\n",
"1401063176603533325 2021-06-05 06:27:46 +0000 <SonuSood> 🙏\n",
"1401062957761449984 2021-06-05 06:26:54 +0000 <SonuSood> Today's best news ❣️ @SoodFoundation 🇮🇳\n",
"1401062143265415180 2021-06-05 06:23:40 +0000 <SonuSood> समझो हो गया ✅\n"
],
"name": "stdout"
}
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "eySUM3wkajOi"
},
"source": [
"# Scrape tweets for specific search strings"
]
},
{
"cell_type": "code",
"metadata": {
"id": "b2_TaHF1pfT1",
"colab": {
"base_uri": "https://localhost:8080/"
},
"outputId": "c87d5b8d-601c-4e1f-c920-6fb789887cae"
},
"source": [
"# Configure\n",
"c = twint.Config()\n",
"c.Username = \"sonusood\"\n",
"c.Limit = 1\n",
"c.Search = ['India']\n",
"\n",
"# Run\n",
"twint.run.Search(c)"
],
"execution_count": 6,
"outputs": [
{
"output_type": "stream",
"text": [
"1400858200694353922 2021-06-04 16:53:16 +0000 <SonuSood> Iam so sorry for your brother. I am Already in touch with the authorities in Doha. Will make sure that we bring your brother back to India. 🇮🇳\n",
"1399961270992867338 2021-06-02 05:29:11 +0000 <SonuSood> Consider this liver transplant surgery done ☑️ Tell the little angel, she will recover and go home soon. Thank you @Rch_india @dineshchirla Globalhospital, Dr Prashant, Dr Srinivas Reddy &amp; his team. @SoodFoundation 🇮🇳\n",
"1398271567843389440 2021-05-28 13:34:55 +0000 <SonuSood> Lines OPEN again. Register on https://t.co/0uwlZWQWTO to get your Free Oxygen Concentrator. (Emergency Use) Thank You partners @tushti_india @DTDCIndia @Gupshup @k2sconsult @SoodFoundation https://t.co/LBgOSmh1fp\n",
"1396023740660535297 2021-05-22 08:42:51 +0000 <SonuSood> Very happy to announce that the first set of my Oxygen Plants will be set up at Kurnool Government Hospital &amp; one at District Hospital, Atmakur,Nellore, AP in the month of June!This would be followed by setting more plants in the other needy states! Time to support rural India 🇮🇳 https://t.co/vLef9Po0Yl\n",
"1394321329558495233 2021-05-17 15:58:04 +0000 <SonuSood> 20000+ have approached for Oxygen Concentrator. Verification on. Deliveries have begun☑️. Lines will reopen soon. @tushti_india @DTDCIndia @SoodFoundation https://t.co/c8khBizlKF\n",
"1393786615185686529 2021-05-16 04:33:19 +0000 <SonuSood> We are common men of India 🇮🇳 @SoodFoundation\n",
"1393473031201189894 2021-05-15 07:47:14 +0000 <SonuSood> Delhi, Lets Save More Lives. Oxygen concentrators on your way. To register, give a Missed Call on 022-61403615. Thank You @tushti_india @DTDCIndia for joining hands. @SoodFoundation 🇮🇳 https://t.co/feF0KtdmJP\n",
"1390155570133360640 2021-05-06 04:04:50 +0000 <SonuSood> Stay strong India 🇮🇳 Oxygen from my side on your way❤️ @SoodFoundation https://t.co/72prrjtw7v\n",
"1389299512708009987 2021-05-03 19:23:10 +0000 <SonuSood> I got 27538 requests today for Oxygen, Beds and Medicines. Out of this 70% were from Delhi 20% were from UP 10% REST OF INDIA. THIS HAS TO END🙏\n",
"1389144277804978176 2021-05-03 09:06:19 +0000 <SonuSood> 🆘🆘🆘🆘🆘🆘 We need oxygen urgently in IBS Hospital Lajpat Nagar, New Delhi. Trying my best , please spread the word , many lives at risk. @MoHFW_INDIA\n",
"1389067123616477186 2021-05-03 03:59:44 +0000 <SonuSood> 🆘 Gandhi Hospital, Uttam Nagar, Delhi has serious oxygen issue. Can someone help. It's real dangerous situation there.,🆘 @MoHFW_INDIA\n",
"1388366581252595716 2021-05-01 05:36:02 +0000 <SonuSood> We are trying to get hundreds of oxygen concentrators to India. It's sad to say that China has blocked lots of our consignments and here in India we are losing lives every minute. I request @China_Amb_India @MFA_China to help us get our consignments cleared so we can save lives🇮🇳\n",
"1385983195586318339 2021-04-24 15:45:18 +0000 <SonuSood> अब पूरा देश साथ आएगा। जुड़िए मेरे साथ Telegram चैनल पे “India Fights With Covid “ पर हाथ से हाथ मिलाएँगे .. देश को बचाएँगे https://t.co/Qa5nxskuqk https://t.co/UPzNuufYjA\n",
"1384790294663630850 2021-04-21 08:45:09 +0000 <SonuSood> Trying my best @nppa_india @SonuSood\n",
"1384783553926291457 2021-04-21 08:18:21 +0000 <SonuSood> Will try my best. Hopefully will be able to do. Fingers crossed 🙏 @nppa_india @SoodFoundation\n",
"1384766369728634889 2021-04-21 07:10:04 +0000 <SonuSood> Trying to line up the injection asap. Hopefully you will get a call soon. Pls see this on urgent basis @nppa_india @SoodFoundation\n",
"1384751642084462595 2021-04-21 06:11:33 +0000 <SonuSood> कोशिश खत्म भाई। आज आप को Remdesivir इंजेक्शन मिल जायेंगे। @nppa_india @SoodFoundation\n",
"1383086797735927810 2021-04-16 15:56:03 +0000 <SonuSood> Since morning I haven't kept my phone down, thousands of calls from all over India for HOSPITAL BEDS, MEDICINES, INJECTIONS and still not able to provide to many of them, I feel so helpless.The situation is scary, pls stay at home ,wear mask and prevent yourself from infection.🙏\n",
"1383045326290882562 2021-04-16 13:11:16 +0000 <SonuSood> The art works used in this ad are from the collection of many artworks that people made for me out of love. This is so special❤️ Steel to sirf ek bahaana hai Maqsad to India ko banana hai. 🇮🇳 @ShyamSteelIndia @VM_buffy https://t.co/P8Edy7evd7\n",
"1380020572030070784 2021-04-08 04:51:58 +0000 <SonuSood> I urge @MoHFW_INDIA to consider 25 years and above getting vaccinated too. With number of cases rising and even kids getting infected in large numbers with virus it's high time we announce the vaccination for 25 years and above. Max number of cases I come across are youngsters.\n",
"1376095482301227010 2021-03-28 08:55:04 +0000 <SonuSood> #LudoKing me jitne ka bas ek hi GuruMantra Bas Khelte Raho 🎲 Bas Khelte Raho 🎲 Main khelta hoon India 🇮🇳 ka No1 Game @LudoKingGame Donwload Now: https://t.co/ZPOhfwkUSl #LudoKingGuruMantra https://t.co/nzx6KtxCi7\n",
"1356889300659437571 2021-02-03 08:56:33 +0000 <SonuSood> Very happy to join forces with team @redmiindia - India's No. 1 Smartphone Brand! 🙌 Together we will bring the best smartphones for each &amp; everyone in India! ⚡️ I ❤️ #Redmi https://t.co/MBOoV3PPTr\n",
"1353938839367163904 2021-01-26 05:32:28 +0000 <SonuSood> On this 72nd #RepublicDay, I support #AtmaNirbhar India initiative. I pledge to support and promote such practices – thanks to Shri @amitabhk87 and @NITIAayog’s for such great initiatives for a 100% #swadesi Cloud-based storage, @TheDigiboxx.\n",
"1344890711104229377 2021-01-01 06:18:27 +0000 <SonuSood> What a way to begin the New Year. Here I am with one of India’s most admired &amp; loved men—Amitji🙏 catch us at 9pm tonight on KBC unveiling my book, I’m no Messiah. Happy beginnings for everyone around the global fraternity. Keep doing what you do best❤️ @SrBachchan @Meena_Iyer https://t.co/MTIjpwstuo\n",
"1343396222418231296 2020-12-28 03:19:53 +0000 <SonuSood> Thank you @Suhelseth I hope to forge ahead in my mission with the blessings my readers and the people of India.\n",
"1332623042736922625 2020-11-28 09:51:06 +0000 <SonuSood> Will try to educate every child in India 🇮🇳. @Acer_India\n",
"1329801862137094146 2020-11-20 15:00:45 +0000 <SonuSood> Startups ! Let’s step into New Age India ... Join the Movement Log on to https://t.co/320MmgCQwE #asonusoodinitiative #drtalkies #kuberanshouse #sanjeevkkumar #ramgowda #ranjithroyal #indiasbiggest #applyyourdream #entrepreneur #startupindia #entrepreneurspirit #startup https://t.co/eRSA4owdqz\n",
"1327269834946539521 2020-11-13 15:19:22 +0000 <SonuSood> I am proud to partner with Shyam Steel India and work together with steely determination to build a better future for India. @ShyamSteelIndia https://t.co/wmOw3o563J\n",
"1316682110141231104 2020-10-15 10:07:32 +0000 <SonuSood> I am delighted to partner with @NITIAayog @UNinIndia, @DiscoveryIN &amp; @deespeak for #BharatKeMahaveer - a nationwide campaign to celebrate India's selfless #COVID19 heroes. These heroes deserve to be heard and recognized. I am honoured to stand with them and by them. Tune in! https://t.co/enLeOmDxPP\n",
"1314202558588579845 2020-10-08 13:54:41 +0000 <SonuSood> India’s Gold medal 🥇 on its way 🙏 Proud to be a part of your journey brother ❣️\n",
"1303546386240204801 2020-09-09 04:10:51 +0000 <SonuSood> PM SVANidhi, a special initiative by our Honourable @narendramodi for empowering street Vendors for Self Reliant India. Pleased to support an initiative empowering 50 lakh street vendors. #AatmaNirbharVendor @HardeepSPuri @PIB_India @mygovindia @MoHUA_India https://t.co/TiOiu9qQpF\n",
"1302928977665773568 2020-09-07 11:17:30 +0000 <SonuSood> I am proud to join hands with @tushti_india to launch 100% #madeinIndia Oximeter &amp; Infrared Thermometer to keep ourselves, our families &amp; the nation safe. https://t.co/Niyo7aXU1t https://t.co/IAoM8KjT4z\n",
"1302125833004265473 2020-09-05 06:06:05 +0000 <SonuSood> Welcome back to INDIA 🇮🇳\n",
"1298921114156937216 2020-08-27 09:51:41 +0000 <SonuSood> This is HISTORY. I want the Nation to follow this. NEW INDIA 🇮🇳🇮🇳🇮🇳🇮🇳🇮🇳🇮🇳\n",
"1298233579202174976 2020-08-25 12:19:39 +0000 <SonuSood> It's my request to government of India, to postpone the #Neet/#JEE exams in the current situation of the country! In the given #COVID19 situation, we should care utmost &amp; not risk the lives of students! #PostponeJEE_NEETinCOVID @EduMinOfIndia @PMOIndia\n",
"1296476667548962820 2020-08-20 15:58:19 +0000 <SonuSood> India will be among the most prosperous countries very soon bhaji. 🇮🇳\n",
"1296385417176997889 2020-08-20 09:55:43 +0000 <SonuSood> Chalo India 🇮🇳 ❣️ Friends in Philippines. Hope u are already packed.✈️ Very happy to share that I will fly FlightSG 9286 on 23 August 2020 from Manila at 7:10 pm to bring u home. Slowly by gradually, I will get all my friends in Philippines back to our Motherland .@flyspicejet\n",
"1294279098634665987 2020-08-14 14:25:58 +0000 <SonuSood> Welcome to India 🇮🇳 We will make all of them super fit. This will always remain one of the most special moments of my life. Get well soon little angels ❣️\n",
"1293778822236483586 2020-08-13 05:18:03 +0000 <SonuSood> Let’s save these precious lives. Will get them to India in the next two days. Lining up for these 39 angels. Pack their bags. ✈️\n",
"1293495025473474560 2020-08-12 10:30:20 +0000 <SonuSood> Phase -2 india ➡️ Phillipines. I hope you are ready to be with your families❣️ I have lined up the flight from Manila to Delhi on 14 Aug at 7:10 pm SG9286. Can’t wait you to board and get you home. Have sent you the link❣️🙏\n",
"1293491683691118600 2020-08-12 10:17:03 +0000 <SonuSood> Kazakhstan to India is happening. Let's get you home. Almaty Friends.. Pack your bags. SG 9520 Almaty to Delhi, 14th August at 2:15pm is set. The wait to meet your families is finally over. @flyspicejet Start packing. Jai hind🇮🇳\n",
"1292301730126815232 2020-08-09 03:28:36 +0000 <SonuSood> So happy to get you all back in India 🇮🇳 First leg of Mission Philipines successful. Second phase begins 🤞 Jai Hind.\n",
"1291742815672602624 2020-08-07 14:27:41 +0000 <SonuSood> GOOD NEWS✈️ Finally your wait is over. ➡️ 🇮🇳India to Ukraine 🇺🇦 . All my friends please get ready to meet your families❣️. I will fly you down from Keiv to Delhi on 12th Aug 2020. My team will share the link shortly. @flyspicejet Stay Excited.👍\n",
"1291687492601577473 2020-08-07 10:47:51 +0000 <SonuSood> The National Handloom Day is observed every year on 7th August to honour the handloom weavers in the country and also carter an impetus to India’s handloom industry. @smritiirani #Vocal4Handmade https://t.co/NbBNAyjWeA\n",
"1291582746163200000 2020-08-07 03:51:37 +0000 <SonuSood> Very Excited for our first set of friends coming back from Phillipines to India today. SG9286 Manila-Delhi at 4:40PM I can't wait to see u all reach ur homes &amp; be with ur loved ones. My friends who r still stuck in Manila,Iam arranging more repatriation flights for u.@flyspicejet\n",
"1290997148922728451 2020-08-05 13:04:40 +0000 <SonuSood> This is so special ❣️ Thanks to the students of Uzbekistan for all the love. India is all set to welcome you 🇮🇳\n",
"1290989028917960705 2020-08-05 12:32:24 +0000 <SonuSood> Mission Uzbekistan successful🇺🇿 Welcome back to India 🙏 Jai hind. 🇮🇳\n",
"1290157486595387392 2020-08-03 05:28:09 +0000 <SonuSood> Very happy to share with my friends wanting to come back to India.Bec of your requests I tried &amp; have finally been able to add Delhi as a stopover for flight from Moscow. SG 9272, 04 August wl now be Moscow-Delhi-Chennai (Departure 2:35 PM)Waiting for u to reach ur homes soon.🇮🇳\n",
"1289621162972999681 2020-08-01 17:56:59 +0000 <SonuSood> Thank u for all the love❣️Philippines to India...get ready folks. You will all see you families in next 4 days 🤞🙏\n",
"1288743351479500800 2020-07-30 07:48:53 +0000 <SonuSood> I am truly honoured by your kind words and wishes on my birthday. You have always been an inspiration for me and the reason I could do something for others. I hope to continue receiving your blessings and support to make Punjab and India great. Thank you @capt_amarinder 🙏\n",
"1287747986890477569 2020-07-27 13:53:39 +0000 <SonuSood> Welcome back to India 🇮🇳. Succefully completed the evacuation of almost 1500 medical students from Kyrgyzstan. Thanks to @flyspicejet for completing this mission successfully. Get ready for the next one, still lots of do. Jai Hind 🇮🇳\n",
"1287688847233413121 2020-07-27 09:58:39 +0000 <SonuSood> I am glad we could bring this change in their life. Time for everyone to come forward and save the farmers of our country. @Karan_Gilhotra @Sonalika_India\n",
"1287476953742577665 2020-07-26 19:56:40 +0000 <SonuSood> No need to panic my brother. Soon will get you all back to India 🇮🇳.. Philippines कौन सा दूर है। ❣️\n",
"1287435300411596801 2020-07-26 17:11:09 +0000 <SonuSood> Welcome to India everyone 🇮🇳\n",
"1287079100373274624 2020-07-25 17:35:44 +0000 <SonuSood> Dear students of Kyrgyzstan, Your flight @flyspicejet from Bishkek - Delhi for 27 July➡️ 2 PM is the departure from Bishkek and 5PM is the arrival at Delhi..sending the link to you guys now so please send me your details asap .India is all set to welcome you all. Jai Hind 🇮🇳\n",
"1286557725472591873 2020-07-24 07:03:59 +0000 <SonuSood> So happy to see you all excited on coming to India. Have a safe journey. Also please share the details of the students of Jharkhand. Will get them back too ❤️🙏 #missionkyrgysztan\n",
"1283666846332235777 2020-07-16 07:36:40 +0000 <SonuSood> Will soon bring you back to your homes in India 🇮🇳 God will guide us and the prayers of your families will do the magic 🙏 Kyrgsztan to India.🤞\n",
"1283467706339999744 2020-07-15 18:25:21 +0000 <SonuSood> Already on it brother will keep you posted. Hopefully soon everyone will be back in india with their families ❤️\n",
"1282968285433102336 2020-07-14 09:20:50 +0000 <SonuSood> Prayers of your loved ones made it happen. Welcome back to India 🇮🇳\n",
"1270926144955543552 2020-06-11 03:49:40 +0000 <SonuSood> Pleasure my buddy ❣️Keep the good work going. Please do let me know if you need more 🙏 @Mania_India\n",
"1268093729811791872 2020-06-03 08:14:39 +0000 <SonuSood> अभी India में कोई नहीं “चल” 🚶🏻‍♀️ रहा। हर एक के लिए घर पहुँचने की व्यवस्था है ❣️🙏\n",
"1257173471055888384 2020-05-04 05:01:27 +0000 <SonuSood> I feel the travel of all migrants to their respective homes should be totally free. Infact they should be given some money so that when they reach their homes atleast they have something to survive for a day or two. Free trains &amp; busses should run from every state @MoHFW_INDIA https://t.co/jw5pTviGxX\n",
"1253567925681717248 2020-04-24 06:14:18 +0000 <SonuSood> @PMOIndia @OfficeofUT @CMOMaharashtra @AUThackeray @PIB_India @COVIDNewsByMIB @MumbaiPolice @mybmc @Tseries #IndiaFightsCorona #StayHomeStaySafe\n",
"1250412697000112128 2020-04-15 13:16:33 +0000 <SonuSood> Pls see if we can be of any help sir @ArvindKejriwal @MoHFW_INDIA\n",
"1243738590196068352 2020-03-28 03:16:02 +0000 <SonuSood> Thank you for helping these poor migrants sir. I can see the social distancing maintained while sitting in the bus. Wish thousands of migrants struck in Delhi,Telangana, Maharashtra n many states could also travel back to their homes. @CMOMaharashtra @ArvindKejriwal @MoHFW_INDIA\n",
"1243629977142095872 2020-03-27 20:04:26 +0000 <SonuSood> This is sad.I request @MoHFW_INDIA to help them the way you had helped all those struck in different parts of the world by flying them back to India. These poor migrants with little children need an urgent help. A place to stay,food to eat and compassion that gives them faith.\n",
"1243182188633272322 2020-03-26 14:25:05 +0000 <SonuSood> It’s heartbreaking to see images of migrants who are daily wage labourers trying to reach their homes in different states being punished by police. It’s time to show some compassion so they can reach their homes. These families are walking for days. 🙏@CMOfficeUP @MoHFW_INDIA\n",
"1243034896924205056 2020-03-26 04:39:48 +0000 <SonuSood> I am sure there must be thousands of poor families who work in delhi or other states and don’t have themselves registered in any labour union. How are they going to get a shelter and free meal as promised by government. Kindly find such families and help them. @MoHFW_INDIA\n",
"1242897080437227520 2020-03-25 19:32:10 +0000 <SonuSood> This is so sad. Heartbreaking to see these poor labourers in delhi walking bare foot, some on their rickshaws heading to their natives in bihar as they have no place to stay, no money to eat. Wish we find a way to help them🙏@ArvindKejriwal @MoHFW_INDIA @DelhiPolice\n",
"1242042476803719170 2020-03-23 10:56:17 +0000 <SonuSood> चलो अच्छा हुआ Corona left India... they have a reason to celebrate. After seeing this even the virus will think “what if I get affected by their intelligence levels?” Better to leave this country. I mean... do these people have their brains in place ? 😡\n",
"1238159545739792384 2020-03-12 17:46:54 +0000 <SonuSood> ..contd... step better it is for our country. This is the best way to keep people out of contact with the virus affected people who might not be aware that they have caught it. Hope we take some immediate steps before it’s too late. @MoHFW_INDIA #CoronavirusPandemic\n",
"1200687099227201542 2019-11-30 08:04:46 +0000 <SonuSood> Can we have some strict laws that we don’t have another #PriyankaReddy, another #Nirbhaya! It’s time to tell the world that women are safe in India! Hang the culprits so that no one ever attempts to even think about committing such a heinous crime! #JusticeForPriyankaReddy\n",
"1175967683554074624 2019-09-23 02:58:38 +0000 <SonuSood> Listening to our honourable PM @narendramodi ji on this World platform makes every Indian proud. This is New India 🇮🇳 #HowdiModi @realDonaldTrump @POTUS #Houston @PMOIndia\n",
"1142486919143555073 2019-06-22 17:38:02 +0000 <SonuSood> Congratulations india 🇮🇳! Whattttt a matchhhh❤️❤️❤️❤️ well played @Jaspritbumrah93 n my brother @MdShami11 @yuzi_chahal #IndiavsAfghanistan #ICCWorldCup2019 https://t.co/g98VloP8kn\n",
"1139025128426287104 2019-06-13 04:22:07 +0000 <SonuSood> Hello ppl!! I'm on my way to doing something exciting today with @nissan_india.. involves three things I love the most.. Cricket, Cars n Kids!! Take a guess what I'm upto.. reply using #NissanKicks #CWC19 https://t.co/Sm84WaYMPk\n",
"1107163138775007232 2019-03-17 06:13:57 +0000 <SonuSood> Kindly support. 🙏🏽. Jaswant Singh ( father of Jaimal Singh ) State bank of india Kot Isekhan Main Amritsar Road Savings bank account Ac no: 32748187479 Branch code:11909 IFSC: SBIN0011909 https://t.co/tYVnMHjT9H\n",
"1041614347959717888 2018-09-17 09:06:27 +0000 <SonuSood> Wishing our honourable Prime minister @narendramodi ji a very happy birthday. With your vision and efforts our India 🇮🇳 has become a nation that our future generations will be proud of 🏆 May you keep guiding us always with your vision 🙏🏽 https://t.co/LZpSc4ybT0\n",
"1015120726624555008 2018-07-06 06:30:15 +0000 <SonuSood> @Pvsindhu1 happy birthday to India’s inspiration. My friend keep ruling the world always because ur born to rule. Party is due. 💫🌟🍰\n",
"1003531692810727424 2018-06-04 06:59:34 +0000 <SonuSood> Hi everyone! Support India 🇮🇳 @chetrisunil11 https://t.co/D6uB2Y34qF\n",
"1002992559168344064 2018-06-02 19:17:15 +0000 <SonuSood> Can we make this happen in India? 🇮🇳 #helpInspiresGreatness #myindia #ProudMoment https://t.co/WVnydRh2Q8\n",
"1001006667897671680 2018-05-28 07:46:02 +0000 <SonuSood> Jump, and u will find out how to unfold your wings as you fall🏋🏻‍♀️ #fitindia. Make india a nation known for its fitness. https://t.co/wtKMw0rq2d\n",
"999321369803395073 2018-05-23 16:09:15 +0000 <SonuSood> Commendable sir... now this is what’s called super commitment towards a fit India movement 🇮🇳 Time for every individual to inspire ur family n make this nation a healthy n fit nation.🏆 #HumFitTohIndiaFit 🏆🇮🇳 https://t.co/C2lw5A0Wom\n",
"992326271643340800 2018-05-04 08:53:14 +0000 <SonuSood> Best wishes to starlight cinemas Devgad Sindhdurg , first cinema in India in a container .. my best wishes @niteshnrane https://t.co/b1RaNxWpnJ\n",
"992251404591841284 2018-05-04 03:55:44 +0000 <SonuSood> A very heart touching video with a powerful message. Wonderful initiative by shiksha team. Let’s support for a better India #chooseforchange https://t.co/bAPhGHgm9G\n",
"989851661324599296 2018-04-27 13:00:01 +0000 <SonuSood> I’ve always been immensely focused and dedicated to my fitness schedule. I’m happy to announce that as a part of my fitness journey I’m now a part of the Fit India Movement with @OptimumNutri_IN. Together we will make India fitter than yesterday. #glanbia #fitindia https://t.co/IQFpytszQP\n",
"978136935574265856 2018-03-26 05:09:53 +0000 <SonuSood> Honoured to flag of India's first PRIDE WALK with @hothurfoundation and distribute wheelchairs . Empowering day @shangriLaBLR https://t.co/oXMxJwGjwg\n",
"909489579006111744 2017-09-17 18:49:47 +0000 <SonuSood> Ram Kamal Mukherjee becomes India's first Power Brand Film Journalist https://t.co/11nJu3vYk3\n",
"901835386741252096 2017-08-27 15:54:46 +0000 <SonuSood> Sindhuuuuuuu.. You are a WINNER ..🏆🏆🏆🏆🏆 India SALUTES you🏆🏆🏆🏆 @Pvsindhu1 ..what a match 💪\n",
"890225861458362368 2017-07-26 15:02:39 +0000 <SonuSood> After driving for few weeks in Usa when u come back to india..suddenly u feel every driver in every car is a Formula1 racer 🏆😂\n",
"847079022827896832 2017-03-29 13:32:31 +0000 <SonuSood> Khelenge 11 par jeetenge hazaron.Join #INDIAvsTB,Apr 8 Dharamshala @forTBfreeIndia @TheUnion_TBLH @usaid_india @MoHFW_INDIA @himachalcricket https://t.co/WW10hCuhLt\n",
"825604505295130624 2017-01-29 07:20:27 +0000 <SonuSood> Take a glimpse of @EyeOfJackieChan's super visit to India 🇮🇳 !!! #kungFuYoga releasing on 3rd February!! https://t.co/NRJJZ3X58g\n",
"824513258983874561 2017-01-26 07:04:14 +0000 <SonuSood> Saluting India! Where each bud blooms in its true colours, where each day is celebration of unity, harmony and synthesis. #HappyRepublicDay https://t.co/B9onT1rzPk\n",
"822070048046972928 2017-01-19 13:15:47 +0000 <SonuSood> Bhai, @BeingSalmanKhan I have an unusual power 💪🏻packed surprise for you! See you soon in India #Pandeji Hum aah rahe hai 😉@EyeOfJackieChan https://t.co/61JTdmf5GF\n",
"791325532390555648 2016-10-26 17:08:03 +0000 <SonuSood> No one can beat the lip smacking food served at @Koyla_India ..dal-tadka is to die for. #koyla #versova #mumbai thanks bhai @abufarhanazmi\n",
"789463396840247296 2016-10-21 13:48:35 +0000 <SonuSood> Wishing a super successful show IRT INDIA'S DEADLIEST ROADS to my bro @sumeethmittal begins tonite at 9pm on @HISTORYTV18 👍👍👍\n",
"779218251284742144 2016-09-23 07:18:02 +0000 <SonuSood> India's first ever Sundance WINNER Umrika finally releases in India today, please watch! Stellar cast and beautiful story.@swatishetty\n",
"744121894740307968 2016-06-18 10:57:39 +0000 <SonuSood> Round 2 in india soon. 👍👍 https://t.co/eM2CYSBDkS\n",
"742978220128145408 2016-06-15 07:13:06 +0000 <SonuSood> Just wait when we come to india for promotions. We will make the whole country do punjabi Bhangra with Jackie chan. https://t.co/DevheZEkOe\n",
"742957271207030784 2016-06-15 05:49:51 +0000 <SonuSood> Bhaji lets get ready with another track to make Jackie chan do Bhangra when he comes to india. We r all set. 💪 https://t.co/4dBxtHlgK3\n",
"687342422569955328 2016-01-13 18:36:18 +0000 <SonuSood> So true.. Wakeup India. It's 2016.. @kikusharda bro we R with u. #WeStandWithKikuSharda https://t.co/nHmIBUjipb\n"
],
"name": "stdout"
}
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "OvtpMnHHbAFV"
},
"source": [
"# Scrape tweets Images, Videos or Media (images or videos) "
]
},
{
"cell_type": "code",
"metadata": {
"id": "ALF-GYBJp5Ve"
},
"source": [
"# Configure\n",
"c = twint.Config()\n",
"c.Username = \"sonusood\"\n",
"c.Limit = 1\n",
"#c.Images= True\n",
"#c.Vidoes = True\n",
"c.Media = True\n",
"\n",
"# Run\n",
"twint.run.Search(c)"
],
"execution_count": null,
"outputs": []
},
{
"cell_type": "markdown",
"metadata": {
"id": "1CZH0be9bE3C"
},
"source": [
"# Scrape popular tweets of user"
]
},
{
"cell_type": "code",
"metadata": {
"id": "ZBJGdCrWqglP",
"colab": {
"base_uri": "https://localhost:8080/"
},
"outputId": "f7fd8d6b-e141-4cb5-c314-bc33e0e4d4d0"
},
"source": [
"import twint\n",
"\n",
"# Configure\n",
"c = twint.Config()\n",
"c.Username = \"sonusood\"\n",
"c.Limit = 1\n",
"c.Popular_tweets = True\n",
"\n",
"# Run\n",
"twint.run.Search(c)"
],
"execution_count": 8,
"outputs": [
{
"output_type": "stream",
"text": [
"1401535336337993738 2021-06-06 13:43:58 +0000 <SonuSood> मेरा देश मेरी ज़िम्मेदारी 🇮🇳\n",
"1401524128675287049 2021-06-06 12:59:25 +0000 <SonuSood> यशिका कल के भारत की नई तस्वीर है। गर्व है ऐसे माता पिता पर 🙏🇮🇳\n",
"1401521911247429632 2021-06-06 12:50:37 +0000 <SonuSood> Consider it done ✅ @SoodFoundation\n",
"1401521608968138756 2021-06-06 12:49:25 +0000 <SonuSood> Tell your aunt not to worry,will be done ☑️ @SoodFoundation 🇮🇳\n",
"1401520961594089484 2021-06-06 12:46:50 +0000 <SonuSood> Tell you your father not to worry, I am there ❣️🙏 @SoodFoundation 🇮🇳\n",
"1401442851335016456 2021-06-06 07:36:27 +0000 <SonuSood> Tell your mom not to worry✅ @SoodFoundation 🇮🇳\n",
"1401414561954091011 2021-06-06 05:44:03 +0000 <SonuSood> O2 on your way. @HothurGivesback @ips_sudhakar @Ajaypratap777 @IamRjamit. @Hsudan11 @BikesSwag @SoodFoundation 🇮🇳 https://t.co/oF2NYat6co\n",
"1401380443094536195 2021-06-06 03:28:28 +0000 <SonuSood> I woke up with the news that her mom also passed away just now. Now this little girl is all alone. Please come forward and support such families. They need you. If you can't, let me know,I will. Life is so unfair. 💔\n",
"1401229868600225794 2021-06-05 17:30:08 +0000 <SonuSood> There are many stories like these that I have experienced very closely in last few days. We get to know only about few. It's high time that the previleged ones come forward and support such needy families. They need us. Please find them because they might not be able to find u🙏\n",
"1401229866968576007 2021-06-05 17:30:08 +0000 <SonuSood> City: Nagpur Day:1 Mother, Father, Brother &amp; Sister all tested positive. Day:7 Brother dies, Mom n Dad who are critical are not informed. Day:9 Father dies without knowing the son passed away 2 days ago. Day:10 Mother is very critical. Only survivor is this 19 yr old girl💔\n",
"1401133094615150592 2021-06-05 11:05:36 +0000 <SonuSood> #Throwback to the modelling days in Mumbai. https://t.co/Fxpc9KDwEJ\n",
"1401132849906917377 2021-06-05 11:04:37 +0000 <SonuSood> You are a Star 🌟\n",
"1401121032145018882 2021-06-05 10:17:40 +0000 <SonuSood> This is so awesome 🙏\n",
"1401075698005987328 2021-06-05 07:17:31 +0000 <SonuSood> सफल बनना आसान, सरल बनना मुश्किल।\n",
"1401063426521133057 2021-06-05 06:28:46 +0000 <SonuSood> World's cutest kid 😍 @SoodFoundation 🇮🇳\n",
"1401063176603533325 2021-06-05 06:27:46 +0000 <SonuSood> 🙏\n",
"1401062957761449984 2021-06-05 06:26:54 +0000 <SonuSood> Today's best news ❣️ @SoodFoundation 🇮🇳\n",
"1401062143265415180 2021-06-05 06:23:40 +0000 <SonuSood> समझो हो गया ✅\n",
"1400861045376262144 2021-06-04 17:04:34 +0000 <SonuSood> Someone asked me how do you make things happen so quickly? I said: \"I don't think twice before calling up someone I don't know, to help someone I don't know\"\n",
"1400858200694353922 2021-06-04 16:53:16 +0000 <SonuSood> Iam so sorry for your brother. I am Already in touch with the authorities in Doha. Will make sure that we bring your brother back to India. 🇮🇳\n",
"1400768507155861507 2021-06-04 10:56:51 +0000 <SonuSood> Do let me know if you need more. No one should sleep hungry. @SoodFoundation 🇮🇳\n",
"1400767986508521481 2021-06-04 10:54:47 +0000 <SonuSood> Food truck will reach today ☑️ @SoodFoundation 🇮🇳\n",
"1400750446113742855 2021-06-04 09:45:05 +0000 <SonuSood> Anything, Anywhere, Anytime bhai 🙏 @SoodFoundation\n",
"1400749811700174855 2021-06-04 09:42:34 +0000 <SonuSood> Not to worry, Patient admitted in Agrasen Hospital ✅ @rationalrishi @Priti_Damle @hudsonmisal1989 @SoodFoundation 🇮🇳\n",
"1400682678890876929 2021-06-04 05:15:48 +0000 <SonuSood> My duty🙏 @SoodFoundation 🇮🇳\n",
"1400525876106649601 2021-06-03 18:52:44 +0000 <SonuSood> According to the IMA, 748 Doctors died in the 1st wave &amp; 624 in the 2nd. We must remember we all owe it to them and thier families. Respect 🙏\n",
"1400474076834000907 2021-06-03 15:26:54 +0000 <SonuSood> मां से कीमती कुछ नहीं ❣️\n",
"1400473882562203648 2021-06-03 15:26:07 +0000 <SonuSood> My duty sir 🙏 @SoodFoundation 🇮🇳\n",
"1400473687216648197 2021-06-03 15:25:21 +0000 <SonuSood> ऊपर वाला है ना, सब ठीक होगा 🙏\n",
"1400434486026948612 2021-06-03 12:49:34 +0000 <SonuSood> O2 will never stop. @SoodFoundation🇮🇳 @HothurGivesback @deepolice12 @BikesSwag @Ajaypratap777 @iamrjamit @prakruthi1 https://t.co/zhxmCBQ4F3\n",
"1400426637930291202 2021-06-03 12:18:23 +0000 <SonuSood> Nothing will happen to Ms Tapu Mishra🇮🇳\n",
"1400373276472320001 2021-06-03 08:46:21 +0000 <SonuSood> इंसानियत की गिनती इंसानों से बड़ जाए तो देश अपने आप बदल जायेगा।\n",
"1400353756269580289 2021-06-03 07:28:47 +0000 <SonuSood> मेरा देश मेरी ज़िम्मेदारी🙏 @SoodFoundation 🇮🇳\n",
"1400326404818890755 2021-06-03 05:40:06 +0000 <SonuSood> All these villages will get the ration today. Lets come together to get these families on their feet. I am with you 🙏 @SoodFoundation 🇮🇳\n",
"1400325264622505988 2021-06-03 05:35:34 +0000 <SonuSood> Rabb Rakha 🙏 @SoodFoundation 🇮🇳\n",
"1400143839340363778 2021-06-02 17:34:39 +0000 <SonuSood> I also pray to the almighty that these be of minimal use and everyone stays safe 🙏\n",
"1400119973419180036 2021-06-02 15:59:49 +0000 <SonuSood> Every village will have their own mortuary freezer box with in a week's time. ✅ Thanks for bringing to my notice. @SoodFoundation 🇮🇳\n",
"1400004676272070656 2021-06-02 08:21:40 +0000 <SonuSood> The Hope Issue ❤️ @CosmoIndia https://t.co/sq101P5l4M\n",
"1399961270992867338 2021-06-02 05:29:11 +0000 <SonuSood> Consider this liver transplant surgery done ☑️ Tell the little angel, she will recover and go home soon. Thank you @Rch_india @dineshchirla Globalhospital, Dr Prashant, Dr Srinivas Reddy &amp; his team. @SoodFoundation 🇮🇳\n",
"1399955786021756928 2021-06-02 05:07:23 +0000 <SonuSood> गरीब के मदद के लिए बंधे हाथ, हर कामयाब व्यक्ति की असफलता का चिन्ह होते हैं।\n",
"1399776597947797506 2021-06-01 17:15:22 +0000 <SonuSood> ..was coming. When u lose someone, u wish u could save someone. Another 29 year young bodybuider whom we saved is now critical in a hospital in telangana.Spoke to the inconsolable sister for 20 mins and gave her hope. Feel very sad to see so much of sorrow around. God be kind🙏\n",
"1399776595682816004 2021-06-01 17:15:21 +0000 <SonuSood> A 25 years boy whom we were trying to save, lost his battle to covid today. All these days despite knowing that his survival chances of survival were minimal. l would speak to the doctor everyday with hope.Never had the guts to share the reality with his parents, who knew what\n",
"1399763287684702213 2021-06-01 16:22:28 +0000 <SonuSood> इस से खूबसूरत कुछ नहीं ❣️ @SoodFoundation 🇮🇳\n",
"1399761733129023488 2021-06-01 16:16:18 +0000 <SonuSood> यह बच्चा आज अपने घर पहुंच जायेगा ✅ @SoodFoundation 🇮🇳\n",
"1399761311421009923 2021-06-01 16:14:37 +0000 <SonuSood> We will make sure no one will die of hunger in this country 🇮🇳 @SoodFoundation 🇮🇳\n",
"1399683834602418182 2021-06-01 11:06:45 +0000 <SonuSood> Same here sir. Will get some delicacies for you from Mumbai and you have to keep the Hyderabad biryani ready, really soon.🙏🇮🇳\n",
"1399634047760932867 2021-06-01 07:48:55 +0000 <SonuSood> Yes brother, I will keep this mission ON. Completely looking forward to meet you, when I come to Hyderabad Next! You have been an inspiration for many!\n",
"1399603323762708482 2021-06-01 05:46:50 +0000 <SonuSood> O2 for Bellary ☑️ @SoodFoundation 🇮🇳 @HothurGivesback @deepolice @BikesSwag @Ajaypratap777 @iamrjamit @prakruthi1 https://t.co/lEPPYt8fPz\n",
"1399586687974400000 2021-06-01 04:40:44 +0000 <SonuSood> Thank you so much sir for your kind words! But you are truly a hero who has done so much for Telengana. The state has developed so much under your leadership. I consider Telengana as my second Home as its my place of work &amp; the people have shown me so much love over the years🇮🇳\n",
"1399404285583003648 2021-05-31 16:35:56 +0000 <SonuSood> God is great🙏☑️\n",
"1399403846347091971 2021-05-31 16:34:11 +0000 <SonuSood> Nothing will happen to your wife 🙏\n",
"1399375847966928898 2021-05-31 14:42:55 +0000 <SonuSood> Your dad will recover soon 🇮🇳\n",
"1399375576708698114 2021-05-31 14:41:51 +0000 <SonuSood> Won't let anything happen to the father.🇮🇳\n",
"1399375198399258628 2021-05-31 14:40:21 +0000 <SonuSood> Stay positive. Will happen. 🇮🇳\n",
"1399302462461206529 2021-05-31 09:51:19 +0000 <SonuSood> With the blessings of Lord Balaji. Consider this done 🙏 Dr. Veereswar Rao, Mr. Kondapalli J Prem Kumar Sankalpa superspeciality hospital Tirupathi @SoodFoundation 🇮🇳\n",
"1399270165615763464 2021-05-31 07:42:59 +0000 <SonuSood> Consider the surgery done ✅ #srcchospital @SoodFoundation🇮🇳\n",
"1399269693144264704 2021-05-31 07:41:06 +0000 <SonuSood> Humbled bhaji You are the best ❣️🙏\n",
"1399208001626513408 2021-05-31 03:35:58 +0000 <SonuSood> Oh Wow, How time flies..This will always remain as one of my most special film❣️#ShaeedEAzamBhagatSingh\n",
"1399206874864443397 2021-05-31 03:31:29 +0000 <SonuSood> Humbled 🙏\n",
"1399205906198392833 2021-05-31 03:27:38 +0000 <SonuSood> मुश्किल समय, मुश्किल में पड़े लोगों के लिए नहीं, आराम की जिंदगी जीने वालों के लिए परीक्षा की घड़ी होता है।\n",
"1399195353912463364 2021-05-31 02:45:42 +0000 <SonuSood> Citizens of our country, Our responsibility 🙏 @SoodFoundation 🇮🇳\n",
"1399049595582222339 2021-05-30 17:06:31 +0000 <SonuSood> One tweet is that makes all the difference, One tweet is that can save a life. Jai hind 🇮🇳 @SoodFoundation 🙏\n",
"1399033545851473927 2021-05-30 16:02:44 +0000 <SonuSood> खोज खत्म दवाई मिल जायेगी। ☑️ @SoodFoundation 🇮🇳\n",
"1399032828600328200 2021-05-30 15:59:53 +0000 <SonuSood> चिंता मत कर भाई आपकी बहन की सर्जरी समझो हो गई। @SoodFoundation 🇮🇳\n",
"1398940194187870208 2021-05-30 09:51:48 +0000 <SonuSood> There is nothing called Impossible ❣️ @medanta #indore #drdixitdean @Shobhit_1702 @SoodFoundation 🇮🇳\n",
"1398939912271917058 2021-05-30 09:50:40 +0000 <SonuSood> हो जायेगा ☑️ @shobhit_1702 @vishallamba20 @SoodFoundation 🇮🇳\n",
"1398926403270156289 2021-05-30 08:56:59 +0000 <SonuSood> There was a day when I had sent my pictures from Punjab for an audition of Stardust, but got rejected. Today want to thank Stardust for this lovely cover. Humbled ❣️🙏 @sumita11 @Stardust_Magna @vedishnaidu @ashok_dhamankar https://t.co/lQj6CLgxg3\n",
"1398901517877268485 2021-05-30 07:18:06 +0000 <SonuSood> Seeing his popularity my Milkman Guddu has increased the milk prices by 10 Rupees per litre.😂 Kindly bear https://t.co/JXhy6Np0S5\n",
"1398884398347423747 2021-05-30 06:10:05 +0000 <SonuSood> I am a vegetarian.. N mutton shop on my name?🙈 Can I help him open something vegetarian 😄\n",
"1398855933002850310 2021-05-30 04:16:58 +0000 <SonuSood> अपने कदमों की काबिलियत पर विश्वास रख, तेरी मंजिल तुझे अपने आप ढूंढ लेगी।\n",
"1398751657974845440 2021-05-29 21:22:37 +0000 <SonuSood> 2.52 am पिछले 18 घंटों में 60% केस ही हल कर पाए। अब लगता हैं दिन में 24 घंटे कम क्यों लगते हैं। कल ,आज से बेहतर होगा🙏🇮🇳\n",
"1398665257535500291 2021-05-29 15:39:17 +0000 <SonuSood> Arranged and delivered ☑️ Thanks #dcmeghapawar @SoodFoundation 🇮🇳\n",
"1398630328680341507 2021-05-29 13:20:30 +0000 <SonuSood> Anything for Rajasthan, Oxygen concentrators delivered ✅ @SoodFoundation 🇮🇳\n",
"1398621836649238529 2021-05-29 12:46:45 +0000 <SonuSood> मिलिए यह हैं दुनिया के सबसे अमीर बच्चे, और दुनिया का सबसे बड़ा बैंक. आपके 16530 रुपए हमारी सबसे कीमती डोनेशन है। आपके माता पिता को प्रणाम 🙏 आपके जैसे चंद बच्चे पूरा देश बदल सकते हैं 🇮🇳 @SoodFoundation\n",
"1398599428890451973 2021-05-29 11:17:43 +0000 <SonuSood> Won't let any oxymeter show this reading. 🙏\n",
"1398598895110742020 2021-05-29 11:15:35 +0000 <SonuSood> बारिश हो या तुफान मां के लिए कहीं भी, कुछ भी ❣️ @SoodFoundation 🇮🇳\n",
"1398565328234237960 2021-05-29 09:02:12 +0000 <SonuSood> Let's change this world together. @SoodFoundation 🇮🇳\n",
"1398530210945912837 2021-05-29 06:42:40 +0000 <SonuSood> Mom's are precious. Iam with you, lining up her treatment. Wishing her a speedy recovery 🙏 @SoodFoundation 🇮🇳\n",
"1398503600465186821 2021-05-29 04:56:55 +0000 <SonuSood> Medicines delivered ✅ @mayankarora4666 @SoodFoundation 🇮🇳\n",
"1398503136856207362 2021-05-29 04:55:05 +0000 <SonuSood> Your last hope won't let you down. Will be done.☑️ @Shobhit_1702 @vishallamba20 @SoodFoundation 🇮🇳\n",
"1398271567843389440 2021-05-28 13:34:55 +0000 <SonuSood> Lines OPEN again. Register on https://t.co/0uwlZWQWTO to get your Free Oxygen Concentrator. (Emergency Use) Thank You partners @tushti_india @DTDCIndia @Gupshup @k2sconsult @SoodFoundation https://t.co/LBgOSmh1fp\n",
"1398236680138543109 2021-05-28 11:16:17 +0000 <SonuSood> My country My responsibility 🇮🇳 https://t.co/ofMiSJ65Qu\n",
"1398186110342242309 2021-05-28 07:55:20 +0000 <SonuSood> मेरे दूध वाले गुड्डू ने भी हाथ खड़े कर दिए हैं😂 He can't handle the pressure now😆 Everyone who wants to know how I do it, come and stay with me for a day🤗 https://t.co/dDjH9Jv97d\n",
"1398148334678773764 2021-05-28 05:25:13 +0000 <SonuSood> जिंदगी में, एक बात तो तय है, कि.. तय कुछ भी नहीं ।\n",
"1397847782057136137 2021-05-27 09:30:56 +0000 <SonuSood> Bed has been arranged at AIIMS Jodhpur. Taking the patient now to the OT. Wishing a speedy recovery. #CMHO @SoodFoundation 🇮🇳\n",
"1397783221815762945 2021-05-27 05:14:24 +0000 <SonuSood> अरे, समझो हो गया ☑️ सर्जरी फिक्स करवा दी है। #SRCCHOSPITAL @agarwalbalmohan @SoodFoundation 🇮🇳\n",
"1397782622634266625 2021-05-27 05:12:01 +0000 <SonuSood> Parents are precious, so anything for them ❣️🙏 @SoodFoundation 🇮🇳\n",
"1397782229749694464 2021-05-27 05:10:27 +0000 <SonuSood> Medicines delivered ☑️ Thanks for your support @BennyFe58650336 @keyursavla2 @IndiGo6e @SoodFoundation 🇮🇳\n",
"1397766398617677824 2021-05-27 04:07:33 +0000 <SonuSood> Meet the new SUPERSTAR ❣️\n",
"1397756216189677569 2021-05-27 03:27:05 +0000 <SonuSood> This made my day. Humbled🙏\n",
"1397571162729717762 2021-05-26 15:11:45 +0000 <SonuSood> येह तेरे या मेरे नहीं, सब के घर की बात है। हम सब के घर की बात है। #GharKiBaat @WakefitCo https://t.co/4UZvynqMYk\n",
"1397467551978774538 2021-05-26 08:20:02 +0000 <SonuSood> समझो पहुंच गया ☑️ @SoodFoundation 🇮🇳\n",
"1397442107615289344 2021-05-26 06:38:56 +0000 <SonuSood> O2 #hubbali @KaRailwayPolice @deepolice12 @HothurGivesBack @bikesSwag @Ajaypratap777 @iamRJamit @SoodFoundation https://t.co/HWMrJDbjZI\n",
"1397417783743287297 2021-05-26 05:02:17 +0000 <SonuSood> एक दम हीरो लग रहे हो माजिद भाई हमेशा खुश रहें 🙏 @SoodFoundation 🇮🇳\n",
"1397383683015798786 2021-05-26 02:46:46 +0000 <SonuSood> कुछ नहीं होने देंगे। ऑक्सीजन कंसेंटरेटर 24 घंटे में पहुंच जायेगा☑️ @SoodFoundation 🇮🇳\n",
"1397383184770166785 2021-05-26 02:44:48 +0000 <SonuSood> In next 24 hours it will reach at your home in Varanasi ☑️ @SoodFoundation 🇮🇳\n",
"1397382253869600769 2021-05-26 02:41:06 +0000 <SonuSood> It's done ☑️\n",
"1397382129529483266 2021-05-26 02:40:36 +0000 <SonuSood> Video of the day, so proud of you❣️\n",
"1397381718634491910 2021-05-26 02:38:58 +0000 <SonuSood> मुश्किल समय ही अपनो की पहचान करवाता है।\n",
"1397229406234492940 2021-05-25 16:33:44 +0000 <SonuSood> O2 @HothurGivesBack @bikesSwag @Ajaypratap777 @iamRJamit @SoodFoundation 🇮🇳 https://t.co/NAKTS84ZdB\n"
],
"name": "stdout"
}
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "YIDhcH-NbIpc"
},
"source": [
"# Filter scraped tweets based on min likes, min retweets, and min replies"
]
},
{
"cell_type": "code",
"metadata": {
"id": "285lzw2Bq2VK",
"colab": {
"base_uri": "https://localhost:8080/"
},
"outputId": "1a7e6541-9770-4a32-fcb9-099d9c0977ac"
},
"source": [
"c = twint.Config()\n",
"c.Username = \"sonusood\"\n",
"c.Limit = 1\n",
"c.Min_likes = 30000\n",
"#c.Min_replies = 1000\n",
"#c.Min_retweets = 100\n",
"\n",
"twint.run.Search(c)"
],
"execution_count": 9,
"outputs": [
{
"output_type": "stream",
"text": [
"1401075698005987328 2021-06-05 07:17:31 +0000 <SonuSood> सफल बनना आसान, सरल बनना मुश्किल।\n",
"1400525876106649601 2021-06-03 18:52:44 +0000 <SonuSood> According to the IMA, 748 Doctors died in the 1st wave &amp; 624 in the 2nd. We must remember we all owe it to them and thier families. Respect 🙏\n",
"1400373276472320001 2021-06-03 08:46:21 +0000 <SonuSood> इंसानियत की गिनती इंसानों से बड़ जाए तो देश अपने आप बदल जायेगा।\n",
"1399955786021756928 2021-06-02 05:07:23 +0000 <SonuSood> गरीब के मदद के लिए बंधे हाथ, हर कामयाब व्यक्ति की असफलता का चिन्ह होते हैं।\n",
"1399205906198392833 2021-05-31 03:27:38 +0000 <SonuSood> मुश्किल समय, मुश्किल में पड़े लोगों के लिए नहीं, आराम की जिंदगी जीने वालों के लिए परीक्षा की घड़ी होता है।\n",
"1398855933002850310 2021-05-30 04:16:58 +0000 <SonuSood> अपने कदमों की काबिलियत पर विश्वास रख, तेरी मंजिल तुझे अपने आप ढूंढ लेगी।\n",
"1398751657974845440 2021-05-29 21:22:37 +0000 <SonuSood> 2.52 am पिछले 18 घंटों में 60% केस ही हल कर पाए। अब लगता हैं दिन में 24 घंटे कम क्यों लगते हैं। कल ,आज से बेहतर होगा🙏🇮🇳\n",
"1357329466784059393 2021-02-04 14:05:37 +0000 <SonuSood> गलत को सही कहोगे तो नींद कैसे आएगी?\n",
"1297156270961565697 2020-08-22 12:58:49 +0000 <SonuSood> संसार में तकलीफ़ें ज़्यादा नहीं होती .. बस..मदद करने वाले कम होते हैं ।\n",
"1288860379351855106 2020-07-30 15:33:54 +0000 <SonuSood> ..and I dared to become an actor. #1997 https://t.co/s8rlb5o8ni\n"
],
"name": "stdout"
}
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "KdyWE2f_Qzg9"
},
"source": [
"# Store tweets as CSV, JSON, txt etc."
]
},
{
"cell_type": "code",
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "0AE3si5VRKXn",
"outputId": "864dc187-a177-4988-9c93-eb4199d33b40"
},
"source": [
"import twint\n",
"\n",
"c = twint.Config()\n",
"c.Limit = 1\n",
"c.Username = 'sonusood'\n",
"c.Min_likes = 30000\n",
"# c.Store_csv = True\n",
"c.Store_json = True\n",
"c.Output = \"tweets.json\"\n",
"\n",
"twint.run.Search(c)\n"
],
"execution_count": 10,
"outputs": [
{
"output_type": "stream",
"text": [
"1401075698005987328 2021-06-05 07:17:31 +0000 <SonuSood> सफल बनना आसान, सरल बनना मुश्किल।\n",
"1400525876106649601 2021-06-03 18:52:44 +0000 <SonuSood> According to the IMA, 748 Doctors died in the 1st wave &amp; 624 in the 2nd. We must remember we all owe it to them and thier families. Respect 🙏\n",
"1400373276472320001 2021-06-03 08:46:21 +0000 <SonuSood> इंसानियत की गिनती इंसानों से बड़ जाए तो देश अपने आप बदल जायेगा।\n",
"1399955786021756928 2021-06-02 05:07:23 +0000 <SonuSood> गरीब के मदद के लिए बंधे हाथ, हर कामयाब व्यक्ति की असफलता का चिन्ह होते हैं।\n",
"1399205906198392833 2021-05-31 03:27:38 +0000 <SonuSood> मुश्किल समय, मुश्किल में पड़े लोगों के लिए नहीं, आराम की जिंदगी जीने वालों के लिए परीक्षा की घड़ी होता है।\n",
"1398855933002850310 2021-05-30 04:16:58 +0000 <SonuSood> अपने कदमों की काबिलियत पर विश्वास रख, तेरी मंजिल तुझे अपने आप ढूंढ लेगी।\n",
"1398751657974845440 2021-05-29 21:22:37 +0000 <SonuSood> 2.52 am पिछले 18 घंटों में 60% केस ही हल कर पाए। अब लगता हैं दिन में 24 घंटे कम क्यों लगते हैं। कल ,आज से बेहतर होगा🙏🇮🇳\n",
"1357329466784059393 2021-02-04 14:05:37 +0000 <SonuSood> गलत को सही कहोगे तो नींद कैसे आएगी?\n",
"1297156270961565697 2020-08-22 12:58:49 +0000 <SonuSood> संसार में तकलीफ़ें ज़्यादा नहीं होती .. बस..मदद करने वाले कम होते हैं ।\n",
"1288860379351855106 2020-07-30 15:33:54 +0000 <SonuSood> ..and I dared to become an actor. #1997 https://t.co/s8rlb5o8ni\n"
],
"name": "stdout"
}
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "nIr98tK9bPtT"
},
"source": [
"# Store as Pandas DataFrame"
]
},
{
"cell_type": "code",
"metadata": {
"id": "Vcx08HIkd9a5",
"colab": {
"base_uri": "https://localhost:8080/"
},
"outputId": "9d9e783d-e863-48b9-cfd2-ed84d5e21c5b"
},
"source": [
"import twint\n",
"\n",
"c = twint.Config()\n",
"c.Limit = 1\n",
"c.Username = 'sonusood'\n",
"c.Min_likes = 30000\n",
"c.Pandas = True\n",
"\n",
"twint.run.Search(c)\n",
"\n",
"Tweets_df = twint.storage.panda.Tweets_df"
],
"execution_count": 11,
"outputs": [
{
"output_type": "stream",
"text": [
"1401075698005987328 2021-06-05 07:17:31 +0000 <SonuSood> सफल बनना आसान, सरल बनना मुश्किल।\n",
"1400525876106649601 2021-06-03 18:52:44 +0000 <SonuSood> According to the IMA, 748 Doctors died in the 1st wave &amp; 624 in the 2nd. We must remember we all owe it to them and thier families. Respect 🙏\n",
"1400373276472320001 2021-06-03 08:46:21 +0000 <SonuSood> इंसानियत की गिनती इंसानों से बड़ जाए तो देश अपने आप बदल जायेगा।\n",
"1399955786021756928 2021-06-02 05:07:23 +0000 <SonuSood> गरीब के मदद के लिए बंधे हाथ, हर कामयाब व्यक्ति की असफलता का चिन्ह होते हैं।\n",
"1399205906198392833 2021-05-31 03:27:38 +0000 <SonuSood> मुश्किल समय, मुश्किल में पड़े लोगों के लिए नहीं, आराम की जिंदगी जीने वालों के लिए परीक्षा की घड़ी होता है।\n",
"1398855933002850310 2021-05-30 04:16:58 +0000 <SonuSood> अपने कदमों की काबिलियत पर विश्वास रख, तेरी मंजिल तुझे अपने आप ढूंढ लेगी।\n",
"1398751657974845440 2021-05-29 21:22:37 +0000 <SonuSood> 2.52 am पिछले 18 घंटों में 60% केस ही हल कर पाए। अब लगता हैं दिन में 24 घंटे कम क्यों लगते हैं। कल ,आज से बेहतर होगा🙏🇮🇳\n",
"1357329466784059393 2021-02-04 14:05:37 +0000 <SonuSood> गलत को सही कहोगे तो नींद कैसे आएगी?\n",
"1297156270961565697 2020-08-22 12:58:49 +0000 <SonuSood> संसार में तकलीफ़ें ज़्यादा नहीं होती .. बस..मदद करने वाले कम होते हैं ।\n",
"1288860379351855106 2020-07-30 15:33:54 +0000 <SonuSood> ..and I dared to become an actor. #1997 https://t.co/s8rlb5o8ni\n"
],
"name": "stdout"
}
]
},
{
"cell_type": "code",
"metadata": {
"id": "CgZGDcxil59f",
"colab": {
"base_uri": "https://localhost:8080/",
"height": 278
},
"outputId": "c7d06539-4426-403c-dddd-1b84604c7143"
},
"source": [
"Tweets_df.head(2)"
],
"execution_count": 12,
"outputs": [
{
"output_type": "execute_result",
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>id</th>\n",
" <th>conversation_id</th>\n",
" <th>created_at</th>\n",
" <th>date</th>\n",
" <th>timezone</th>\n",
" <th>place</th>\n",
" <th>tweet</th>\n",
" <th>language</th>\n",
" <th>hashtags</th>\n",
" <th>cashtags</th>\n",
" <th>user_id</th>\n",
" <th>user_id_str</th>\n",
" <th>username</th>\n",
" <th>name</th>\n",
" <th>day</th>\n",
" <th>hour</th>\n",
" <th>link</th>\n",
" <th>urls</th>\n",
" <th>photos</th>\n",
" <th>video</th>\n",
" <th>thumbnail</th>\n",
" <th>retweet</th>\n",
" <th>nlikes</th>\n",
" <th>nreplies</th>\n",
" <th>nretweets</th>\n",
" <th>quote_url</th>\n",
" <th>search</th>\n",
" <th>near</th>\n",
" <th>geo</th>\n",
" <th>source</th>\n",
" <th>user_rt_id</th>\n",
" <th>user_rt</th>\n",
" <th>retweet_id</th>\n",
" <th>reply_to</th>\n",
" <th>retweet_date</th>\n",
" <th>translate</th>\n",
" <th>trans_src</th>\n",
" <th>trans_dest</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>1401075698005987328</td>\n",
" <td>1401075698005987328</td>\n",
" <td>1.622877e+12</td>\n",
" <td>2021-06-05 07:17:31</td>\n",
" <td>+0000</td>\n",
" <td></td>\n",
" <td>सफल बनना आसान, सरल बनना मुश्किल।</td>\n",
" <td>hi</td>\n",
" <td>[]</td>\n",
" <td>[]</td>\n",
" <td>295026890</td>\n",
" <td>295026890</td>\n",
" <td>SonuSood</td>\n",
" <td>sonu sood</td>\n",
" <td>6</td>\n",
" <td>07</td>\n",
" <td>https://twitter.com/SonuSood/status/1401075698...</td>\n",
" <td>[]</td>\n",
" <td>[]</td>\n",
" <td>0</td>\n",
" <td></td>\n",
" <td>False</td>\n",
" <td>56632</td>\n",
" <td>1538</td>\n",
" <td>5123</td>\n",
" <td></td>\n",
" <td>None</td>\n",
" <td></td>\n",
" <td></td>\n",
" <td></td>\n",
" <td></td>\n",
" <td></td>\n",
" <td></td>\n",
" <td>[]</td>\n",
" <td></td>\n",
" <td></td>\n",
" <td></td>\n",
" <td></td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>1400525876106649601</td>\n",
" <td>1400525876106649601</td>\n",
" <td>1.622746e+12</td>\n",
" <td>2021-06-03 18:52:44</td>\n",
" <td>+0000</td>\n",
" <td></td>\n",
" <td>According to the IMA, 748 Doctors died in the...</td>\n",
" <td>en</td>\n",
" <td>[]</td>\n",
" <td>[]</td>\n",
" <td>295026890</td>\n",
" <td>295026890</td>\n",
" <td>SonuSood</td>\n",
" <td>sonu sood</td>\n",
" <td>4</td>\n",
" <td>18</td>\n",
" <td>https://twitter.com/SonuSood/status/1400525876...</td>\n",
" <td>[]</td>\n",
" <td>[]</td>\n",
" <td>0</td>\n",
" <td></td>\n",
" <td>False</td>\n",
" <td>71406</td>\n",
" <td>1222</td>\n",
" <td>8055</td>\n",
" <td></td>\n",
" <td>None</td>\n",
" <td></td>\n",
" <td></td>\n",
" <td></td>\n",
" <td></td>\n",
" <td></td>\n",
" <td></td>\n",
" <td>[]</td>\n",
" <td></td>\n",
" <td></td>\n",
" <td></td>\n",
" <td></td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" id conversation_id ... trans_src trans_dest\n",
"0 1401075698005987328 1401075698005987328 ... \n",
"1 1400525876106649601 1400525876106649601 ... \n",
"\n",
"[2 rows x 38 columns]"
]
},
"metadata": {
"tags": []
},
"execution_count": 12
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment