Closed Dragonizedpizza closed 1 year ago
ValueError: not enough values to unpack (expected 2, got 0) Traceback (most recent call last): File "/home/arch/Code/Commisions/CryptoGuys/./src/util/scrape.py", line 3, in scrap_topic(filename="tweets", url='https://twitter.com/i/topics/1468157909318045697',browser="firefox", tweets_count=10, directory='./src/util') File "/usr/lib/python3.10/site-packages/twitter_scraper_selenium/topic.py", line 60, in scrap_topic output_path = directory / "{}.json".format(filename) TypeError: unsupported operand type(s) for /: 'str' and 'str'
thankyou
pulled the code again from GitHub and reinstalled it, but why am I still getting the following error?
ValueError: not enough values to unpack (expected 2, got 0) Traceback (most recent call last): File "/home/arch/Code/Commisions/CryptoGuys/./src/util/scrape.py", line 3, in
scrap_topic(filename="tweets", url='https://twitter.com/i/topics/1468157909318045697',browser="firefox", tweets_count=10, directory='./src/util')
File "/usr/lib/python3.10/site-packages/twitter_scraper_selenium/topic.py", line 60, in scrap_topic
output_path = directory / "{}.json".format(filename)
TypeError: unsupported operand type(s) for /: 'str' and 'str'