Giter Site home page Giter Site logo

Comments (6)

StegSchreck avatar StegSchreck commented on May 20, 2024 1

So this will never work in Docker for Windows?

Sorry, but I have no Windows system anymore that I could use for debugging this issue anymore. As far as I heard, the WSL actually behaves quite similar to a real linux, so I would recommend using that for now.

from rats.

StegSchreck avatar StegSchreck commented on May 20, 2024

The riddle of the 0 movies to be parsed seems to be solved. The -v option for the docker command doesn't seem to work as in Linux.

After circumventing that, the following error remains:

===== Trakt: performing loginTraceback (most recent call last):                   File "/RatS/RatS/base/base_ratings_parser.py", line 21, in parse                  self._parse_ratings()                                                         File "/RatS/RatS/base/base_ratings_parser.py", line 33, in _parse_ratings         self.movies_count = self._get_movies_count(movie_ratings_page)                File "/RatS/RatS/trakt/trakt_ratings_parser.py", line 16, in _get_movies_count    return int(movie_ratings_page.find('section', class_='subnav-wrapper').     AttributeError: 'NoneType' object has no attribute 'find'                                                                                                       During handling of the above exception, another exception occurred:                                                                                             Traceback (most recent call last):                                                File "transfer_ratings.py", line 125, in <module>                                 main()                                                                        File "transfer_ratings.py", line 56, in main                                      execute(args)                                                                 File "transfer_ratings.py", line 95, in execute                                   movies = parse_data_from_source(parser)                                       File "transfer_ratings.py", line 104, in parse_data_from_source                   movies = parser.parse()                                                       File "/RatS/RatS/base/base_ratings_parser.py", line 24, in parse                  self._parse_ratings()                                                         File "/RatS/RatS/base/base_ratings_parser.py", line 33, in _parse_ratings         self.movies_count = self._get_movies_count(movie_ratings_page)                File "/RatS/RatS/trakt/trakt_ratings_parser.py", line 16, in _get_movies_count    return int(movie_ratings_page.find('section', class_='subnav-wrapper').     AttributeError: 'NoneType' object has no attribute 'find'                       

from rats.

StegSchreck avatar StegSchreck commented on May 20, 2024

abandoned. Please use linux :P

from rats.

hairyhippy avatar hairyhippy commented on May 20, 2024

So this will never work in Docker for Windows?

from rats.

hairyhippy avatar hairyhippy commented on May 20, 2024

Great - Thank you, I'll give it a try!

from rats.

hairyhippy avatar hairyhippy commented on May 20, 2024

All was going swimmingly well considering I have never used either WSL or Linux until when running the script it got to the IMDB login and said failed due to needing a Captcha challenge... Trakt login and parsing worked like a dream however :-)

ERROR: Login to IMDB failed.
There seems to be a Captcha challenge present for the login. Please try again later.

I, therefore, logged into IMDB using Chrome in Windows and it never asked Captcha. I wonder if it's a "1st time" login via Linux issue?

from rats.

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.