Giter Club home page Giter Club logo

Comments (8)

Mitchwtn avatar Mitchwtn commented on May 30, 2024 1

Thanks for the nudges, i think I did something wrong when I installed 3.8, so I reinstalled it, it still didn't have requirements or bs4 for 3.8 but this time I had pip3.8 and was able to install them and everything worked fine.

from ultimascraper.

UltimaHoarder avatar UltimaHoarder commented on May 30, 2024

Try redownloading StartDatascraper.py

from ultimascraper.

Mitchwtn avatar Mitchwtn commented on May 30, 2024

Still does the same thing

from ultimascraper.

UltimaHoarder avatar UltimaHoarder commented on May 30, 2024

Are you using Python 3.8?

from ultimascraper.

Mitchwtn avatar Mitchwtn commented on May 30, 2024

Thanks, I think that may have been the hang up, I had 3.6. I installed 3.8, now it's missing the requests module, so I'll have to see if I can figure that out.

from ultimascraper.

UltimaHoarder avatar UltimaHoarder commented on May 30, 2024

Did you install the requirements?

from ultimascraper.

Mitchwtn avatar Mitchwtn commented on May 30, 2024

Yes, I even got 3.6 farther, but it still errors. Traceback (most recent call last): File "StartDatascraper.py", line 92, in <module> session[0], username, site_name, app_token) File "/home/michael/Downloads/OnlyFans-master/modules/onlyfans.py", line 56, in start_datascraper response = media_scraper(session, site_name, only_links, *item[1]) File "/home/michael/Downloads/OnlyFans-master/modules/onlyfans.py", line 216, in media_scraper offset_array, [session], [media_type], [directory], [username]))) File "/usr/lib/python3.6/multiprocessing/pool.py", line 274, in starmap return self._map_async(func, iterable, starmapstar, chunksize).get() File "/usr/lib/python3.6/multiprocessing/pool.py", line 644, in get raise self._value File "/usr/lib/python3.6/multiprocessing/pool.py", line 119, in worker result = (True, func(*args, **kwds)) File "/usr/lib/python3.6/multiprocessing/pool.py", line 47, in starmapstar return list(itertools.starmap(args[0], args[1])) File "/home/michael/Downloads/OnlyFans-master/modules/onlyfans.py", line 181, in scrape_array date_object = datetime.fromisoformat(media_api["postedAt"]) AttributeError: type object 'datetime.datetime' has no attribute 'fromisoformat'
When I instruct it to use 3.8 though it's as if it isn't seeing requests on my system. My only other thought would be that there is no package for win32-setcttime, I don't know if that's just a deal breaker and this script won't work under linux even using python3.8?

from ultimascraper.

UltimaHoarder avatar UltimaHoarder commented on May 30, 2024

datetime.datetime doesn't work on 3.6

#43
#18

For 3.8, try checking that the installed requirements are in the 3.8 "/Lib/site-packages" folder

If I can find my Linux USB again I'll check to see what the problem is

from ultimascraper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.