Broken on Python3.8.5 / WSL2 / Ubuntu 20.04
See original GitHub issue>>> google = Profile('https://www.instagram.com/google/')
>>> google.scrape()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/emil/.local/lib/python3.8/site-packages/instascrape/core/_static_scraper.py", line 110, in scrape
self.json_dict = self._get_json_from_source(self.source, headers=headers)
File "/home/emil/.local/lib/python3.8/site-packages/instascrape/core/_static_scraper.py", line 206, in _get_json_from_source
json_dict_str = self._json_str_from_soup(self.soup)
File "/home/emil/.local/lib/python3.8/site-packages/instascrape/core/_static_scraper.py", line 237, in _json_str_from_soup
json_script = [str(script) for script in soup.find_all("script") if "config" in str(script)][0]
IndexError: list index out of range
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
python3 is broken on Ubuntu 20.04 and I am unable to fix it
I found the error. Somehow /usr/bin/python3.8 lost the executable bit (likely because of me messing up a command; it was a long day)....
Read more >How To Install Python 3 and Set Up a Programming ...
This tutorial will get your Ubuntu 20.04 server set up with a Python 3 programming environment. Programming on a server has many advantages ......
Read more >Install Ubuntu on WSL2 and get started with graphical ...
How to enable and install WSL on Windows 10 and Windows 11; How to install and run a simple graphical application that uses...
Read more >which python3 returns nothing after Ubuntu 20.04 upgrade
which python3 returns nothing (no response) · If I try to install a new Python version with sudo apt install python3.8 I get...
Read more >How to Install Python 3 on Ubuntu 18.04 or 20.04 - phoenixNAP
Learn how to install Python 3 on Ubuntu 18.04 or 20.04 using APT or from the source code. Follow this step-by-step tutorial and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
lol when in doubt, reboot! Awesome, thanks for update 😎
What do you know, reboot fixed it.