Instagram scraper - kako da obrisem

baki.2703

Active member
Joined
Oct 4, 2015
Messages
236
Reaction score
40
Prvo da Vas pozdravim πŸ˜ƒ

Pa tek onda da predjem na problem, instalirao sam instagram scraper ali mi nesto ne ide… hteo bih da ga obrisem ali ne znam kako sad…
Evo koda:
baki.2703 said:
b@do:~$ pip install igramscraper
bash: pip: command not found
b@do:~$ pip3 install igramscraper
Collecting igramscraper
Downloading igramscraper-0.3.5.tar.gz (24 kB)
Collecting python-slugify==3.0.2
Downloading python-slugify-3.0.2.tar.gz (7.9 kB)
Requirement already satisfied: requests>=2.21.0 in /usr/lib/python3/dist-packages (from igramscraper) (2.22.0)
Collecting text-unidecode==1.2
Downloading text_unidecode-1.2-py2.py3-none-any.whl (77 kB)
|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 77 kB 1.0 MB/s
Building wheels for collected packages: igramscraper, python-slugify
Building wheel for igramscraper (setup.py) … done
Created wheel for igramscraper: filename=igramscraper-0.3.5-py3-none-any.whl size=36737 sha256=57822f74790763a980f6f907d58c892d4d05b52cd48a56024a0887f5078f993b
Stored in directory: /home/b/.cache/pip/wheels/56/bf/78/90906202c5b6dd1869893a194be20951afda7bc1647cc41a77
Building wheel for python-slugify (setup.py) … done
Created wheel for python-slugify: filename=python_slugify-3.0.2-py2.py3-none-any.whl size=4726 sha256=ce449ebdc2bc89f7b92d43917bd7278bc9402ba5aa2ba1ba6341bf561202a65f
Stored in directory: /home/b/.cache/pip/wheels/31/84/be/036c524391fe87cced2372b4210772725197334a6fef831c0e
Successfully built igramscraper python-slugify
Installing collected packages: text-unidecode, python-slugify, igramscraper
WARNING: The script slugify is installed in β€˜/home/b/.local/bin’ which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed igramscraper-0.3.5 python-slugify-3.0.2 text-unidecode-1.2
b@do:~$
 
Last edited:

Neofit

Member
Joined
Apr 1, 2015
Messages
38
Reaction score
0
ΠŸΡ€ΠΎΠ±Π°Ρ˜ са:

pip3 uninstall igramscraper
 

OgnjenIT

Active member
Joined
Jul 27, 2017
Messages
150
Reaction score
60
igramscraper
Pozdrav,
ja sam ga uspesno instalirao i unsintalirao na centos7.

U mom slucaju komanda za instaliranje je bila sledeca:
sudo pip-3.6 install igramscraper

A za unsinstaliranje:
sudo pip-3.6 uninstall igramscraper
Code:
[ognjen43@centos7 ~]$ sudo pip-3.6 install igramscraper
WARNING: Running pip install with root privileges is generally not a good idea. Try `pip-3.6 install --user` instead.
Collecting igramscraper
  Downloading https://files.pythonhosted.org/packages/1c/ef/f86b3ed24902305a0b4d318ecc78b86c168fc4979814fd31ce8dfa6278cc/igramscraper-0.3.5.tar.gz
Collecting requests>=2.21.0 (from igramscraper)
  Downloading https://files.pythonhosted.org/packages/39/fc/f91eac5a39a65f75a7adb58eac7fa78871ea9872283fb9c44e6545998134/requests-2.25.0-py2.py3-none-any.whl (61kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 61kB 1.8MB/s
Collecting python-slugify==3.0.2 (from igramscraper)
  Downloading https://files.pythonhosted.org/packages/c1/19/c3cf1dc65e89aa999f85a4a3a4924ccac765a6964b405d487b7b7c8bb39f/python-slugify-3.0.2.tar.gz
Collecting idna<3,>=2.5 (from requests>=2.21.0->igramscraper)
  Downloading https://files.pythonhosted.org/packages/a2/38/928ddce2273eaa564f6f50de919327bf3a00f091b5baba8dfa9460f3a8a8/idna-2.10-py2.py3-none-any.whl (58kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 61kB 8.1MB/s
Collecting certifi>=2017.4.17 (from requests>=2.21.0->igramscraper)
  Downloading https://files.pythonhosted.org/packages/c1/6f/3d85f0850962279a7e4c622695d7b3171e95ac65308a57d3b29738b27149/certifi-2020.11.8-py2.py3-none-any.whl (155kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 163kB 2.6MB/s
Collecting chardet<4,>=3.0.2 (from requests>=2.21.0->igramscraper)
  Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 143kB 4.5MB/s
Collecting urllib3<1.27,>=1.21.1 (from requests>=2.21.0->igramscraper)
  Downloading https://files.pythonhosted.org/packages/f5/71/45d36a8df68f3ebb098d6861b2c017f3d094538c0fb98fa61d4dc43e69b9/urllib3-1.26.2-py2.py3-none-any.whl (136kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 143kB 4.8MB/s
Collecting text-unidecode==1.2 (from python-slugify==3.0.2->igramscraper)
  Downloading https://files.pythonhosted.org/packages/79/42/d717cc2b4520fb09e45b344b1b0b4e81aa672001dd128c180fabc655c341/text_unidecode-1.2-py2.py3-none-any.whl (77kB)
    100% |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 81kB 3.3MB/s
Installing collected packages: idna, certifi, chardet, urllib3, requests, text-unidecode, python-slugify, igramscraper
  Running setup.py install for python-slugify ... done
  Running setup.py install for igramscraper ... done
Successfully installed certifi-2020.11.8 chardet-3.0.4 idna-2.10 igramscraper-0.3.5 python-slugify-3.0.2 requests-2.25.0 text-unidecode-1.2 urllib3-1.26.2
[ognjen43@centos7 ~]$ sudo pip-3.6 uninstall igramscraper
Uninstalling igramscraper-0.3.5:
  /usr/local/lib/python3.6/site-packages/examples/__init__.py
  /usr/local/lib/python3.6/site-packages/examples/__pycache__/__init__.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/examples/__pycache__/add_and_delete_comment.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/examples/__pycache__/block_unblock_account.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/examples/__pycache__/context.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/examples/__pycache__/follow_unfollow_account.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/examples/__pycache__/get_account_by_id.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/examples/__pycache__/get_account_by_username.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/examples/__pycache__/get_account_followers.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/examples/__pycache__/get_account_following.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/examples/__pycache__/get_account_medias_by_username.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/examples/__pycache__/get_current_top_medias_by_location_id.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/examples/__pycache__/get_current_top_medias_by_tag_name.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/examples/__pycache__/get_location_by_id.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/examples/__pycache__/get_media_by_code.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/examples/__pycache__/get_media_by_id.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/examples/__pycache__/get_media_by_url.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/examples/__pycache__/get_media_comments.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/examples/__pycache__/get_media_likes.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/examples/__pycache__/get_media_tagged_users.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/examples/__pycache__/get_medias_by_location_id.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/examples/__pycache__/get_medias_by_tag.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/examples/__pycache__/get_medias_from_feed.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/examples/__pycache__/get_stories.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/examples/__pycache__/like_and_unlike_media.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/examples/__pycache__/search_accounts_by_username.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/examples/add_and_delete_comment.py
  /usr/local/lib/python3.6/site-packages/examples/block_unblock_account.py
  /usr/local/lib/python3.6/site-packages/examples/context.py
  /usr/local/lib/python3.6/site-packages/examples/follow_unfollow_account.py
  /usr/local/lib/python3.6/site-packages/examples/get_account_by_id.py
  /usr/local/lib/python3.6/site-packages/examples/get_account_by_username.py
  /usr/local/lib/python3.6/site-packages/examples/get_account_followers.py
  /usr/local/lib/python3.6/site-packages/examples/get_account_following.py
  /usr/local/lib/python3.6/site-packages/examples/get_account_medias_by_username.py
  /usr/local/lib/python3.6/site-packages/examples/get_current_top_medias_by_location_id.py
  /usr/local/lib/python3.6/site-packages/examples/get_current_top_medias_by_tag_name.py
  /usr/local/lib/python3.6/site-packages/examples/get_location_by_id.py
  /usr/local/lib/python3.6/site-packages/examples/get_media_by_code.py
  /usr/local/lib/python3.6/site-packages/examples/get_media_by_id.py
  /usr/local/lib/python3.6/site-packages/examples/get_media_by_url.py
  /usr/local/lib/python3.6/site-packages/examples/get_media_comments.py
  /usr/local/lib/python3.6/site-packages/examples/get_media_likes.py
  /usr/local/lib/python3.6/site-packages/examples/get_media_tagged_users.py
  /usr/local/lib/python3.6/site-packages/examples/get_medias_by_location_id.py
  /usr/local/lib/python3.6/site-packages/examples/get_medias_by_tag.py
  /usr/local/lib/python3.6/site-packages/examples/get_medias_from_feed.py
  /usr/local/lib/python3.6/site-packages/examples/get_stories.py
  /usr/local/lib/python3.6/site-packages/examples/like_and_unlike_media.py
  /usr/local/lib/python3.6/site-packages/examples/search_accounts_by_username.py
  /usr/local/lib/python3.6/site-packages/igramscraper-0.3.5-py3.6.egg-info
  /usr/local/lib/python3.6/site-packages/igramscraper/__init__.py
  /usr/local/lib/python3.6/site-packages/igramscraper/__pycache__/__init__.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/igramscraper/__pycache__/endpoints.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/igramscraper/__pycache__/helper.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/igramscraper/__pycache__/instagram.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/igramscraper/__pycache__/session_manager.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/igramscraper/endpoints.py
  /usr/local/lib/python3.6/site-packages/igramscraper/exception/__init__.py
  /usr/local/lib/python3.6/site-packages/igramscraper/exception/__pycache__/__init__.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/igramscraper/exception/__pycache__/instagram_auth_exception.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/igramscraper/exception/__pycache__/instagram_exception.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/igramscraper/exception/__pycache__/instagram_not_found_exception.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/igramscraper/exception/instagram_auth_exception.py
  /usr/local/lib/python3.6/site-packages/igramscraper/exception/instagram_exception.py
  /usr/local/lib/python3.6/site-packages/igramscraper/exception/instagram_not_found_exception.py
  /usr/local/lib/python3.6/site-packages/igramscraper/helper.py
  /usr/local/lib/python3.6/site-packages/igramscraper/instagram.py
  /usr/local/lib/python3.6/site-packages/igramscraper/model/__init__.py
  /usr/local/lib/python3.6/site-packages/igramscraper/model/__pycache__/__init__.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/igramscraper/model/__pycache__/account.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/igramscraper/model/__pycache__/carousel_media.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/igramscraper/model/__pycache__/comment.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/igramscraper/model/__pycache__/initializer_model.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/igramscraper/model/__pycache__/location.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/igramscraper/model/__pycache__/media.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/igramscraper/model/__pycache__/story.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/igramscraper/model/__pycache__/tag.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/igramscraper/model/__pycache__/user_stories.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/igramscraper/model/account.py
  /usr/local/lib/python3.6/site-packages/igramscraper/model/carousel_media.py
  /usr/local/lib/python3.6/site-packages/igramscraper/model/comment.py
  /usr/local/lib/python3.6/site-packages/igramscraper/model/initializer_model.py
  /usr/local/lib/python3.6/site-packages/igramscraper/model/location.py
  /usr/local/lib/python3.6/site-packages/igramscraper/model/media.py
  /usr/local/lib/python3.6/site-packages/igramscraper/model/story.py
  /usr/local/lib/python3.6/site-packages/igramscraper/model/tag.py
  /usr/local/lib/python3.6/site-packages/igramscraper/model/user_stories.py
  /usr/local/lib/python3.6/site-packages/igramscraper/session_manager.py
  /usr/local/lib/python3.6/site-packages/igramscraper/two_step_verification/__init__.py
  /usr/local/lib/python3.6/site-packages/igramscraper/two_step_verification/__pycache__/__init__.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/igramscraper/two_step_verification/__pycache__/console_verification.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/igramscraper/two_step_verification/__pycache__/two_step_verification_abstract_class.cpython-36.pyc
  /usr/local/lib/python3.6/site-packages/igramscraper/two_step_verification/console_verification.py
  /usr/local/lib/python3.6/site-packages/igramscraper/two_step_verification/two_step_verification_abstract_class.py
Proceed (y/n)? y
  Successfully uninstalled igramscraper-0.3.5
[ognjen43@centos7 ~]$
Ono sto ja vidim iz tog loga sto si postavio jeste da path β€˜/home/b/.local/bin’ nije stavljen u variablu.
Taj problem bi trebala da ti resi sledeca komanda:
PATH=$PATH:/home/b/.local/bin

a zatim pokusaj da deinstaliras paket.
 

baki.2703

Active member
Joined
Oct 4, 2015
Messages
236
Reaction score
40
jesam probao, nakon komande isto nece:
b@do:~$ PATH=$PATH:/home/b/.local/bin
b@do:~$ sudo pip-3.6 uninstall igramscraper
[sudo] password for b:
sudo: pip-3.6: command not found
 

OgnjenIT

Active member
Joined
Jul 27, 2017
Messages
150
Reaction score
60
Pomesao si sta sam ti rekao.
Ako imas pip3 onda koristis pip3.
Ako imas pip3-nesto-tako onda koristis pip3-nesto-tako

U tvom slucaju je koliko vidim koristis pip3. Ako si sada dodao path, pokusaj da uninstaliras sa komandom pip3.
Ako nista, barem mora da ti se resi warning za PATH πŸ™‚

Znaci:
PATH=$PATH:/home/b/.local/bin
pip3 uninstall igramscraper
 
Last edited:

baki.2703

Active member
Joined
Oct 4, 2015
Messages
236
Reaction score
40
hvala,

nakon sto sam promenio Path dobio sam warning jos jednom da igramscraper nije instaliran (za pip3).

probao sam pip3 komandu bez sudo i resio problem.

Zamolio bih admina da arhivira.
 

Commander

Well-known member
Staff member
Joined
Jan 13, 2012
Messages
9,235
Reaction score
530
Ovo su diskusije i otvorene su u svakom trenutku, ne zaključavmo i ne arhiviramo teme. πŸ™‚
 
Last edited:
Top