My name is Piotr and I work with data.
Programming Languages
Python • Elixir • Javascript • Java • R • Rust
Other profiles
LinkedIn • Kaggle • StackOverflow • ORCID • Personal site
Eksport danych z serwisu filmweb
Home Page: https://pypi.org/project/filmweb/
License: MIT License
My name is Piotr and I work with data.
Programming Languages
Python • Elixir • Javascript • Java • R • Rust
Other profiles
LinkedIn • Kaggle • StackOverflow • ORCID • Personal site
Cześć, mam następujący problem - po uruchomieniu skryptu przechodzi mi fetching list of movies 120/120, parsing list of movies 120/120, ale na tym etapie wyskakuje mi error, mówiący że User has 0 movies i taki jak w tytule issue.
Czy byłbyś w stanie mi pomóc w tym? Zainstalowałem dzisiaj, używając po prostu pip install, wersja pythona 3.10.8, także w teorii wszystko powinno chodzić. Windows, jeśli to istotne, używam Terminala.
Taki błąd dostaję po uruchomieniu skryptu:
INFO:root:Checking args...
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): www.filmweb.pl:443
DEBUG:urllib3.connectionpool:https://www.filmweb.pl:443 "GET /user/plyr0 HTTP/1.1" 200 None
ERROR:root:Program error: No ratings count found on website: 'NoneType' object has no attribute 'text'
cookie wygląda inaczej niż w instrukcji:
didomi_token=; euconsent-v2=; _artuser_prm=; ws_ad=; _fwuser_sessionId=; _fwuser_token=; _fwuser_logged=
Mam publiczne oceny.
Mam 902 oceny, eksport ma 1110 wierszy ale w kółko powtarza się w nim 30 pierwszych ocen
Użyłem filmweb-export, żeby pobrać moje oceny z filmwebu i zaimportować na letterboxd.com
Format csv. Wymagało to usunięcia zbędnych kolumn, oraz zmiany nagłówków:
user_rating -> Rating10
original_title -> Title
year -> Year
Na 900+ filmów tylko 11 miało problem z identyfikacją po tytule oryginalnym+roku - głównie japońskie i polskie z polskimi znaczkami. Ogólnie działa to świetnie.
Pomysł: żeby dodać do programu taką opcję eksportu csv w formacie letterboxd. I zgłosić filmweb-export jako pół-oficjalny helper script na https://letterboxd.com/about/importing-data/
Hej, mam dość specyficzny problem z uruchomieniem pakietu. Być może fakt, że używam Windowsa (a nie np. Linuxa) gra tu jakąś rolę.
Otóż:
C:\Users\jb0hn>pip install filmweb
Requirement already satisfied: filmweb in c:\users\jb0hn\appdata\local\packages\pythonsoftwarefoundation.python.3.8_qbz5n2kfra8p0\localcache\local-packages\python38\site-packages (0.5)
Ale gdy próbuję uruchomić:
C:\Users\jb0hn>filmweb -h
'filmweb' is not recognized as an internal or external command, operable program or batch file.
lub
PS C:\Users\jb0hn> filmweb -h
filmweb : The term 'filmweb' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Próbowałem zarówno z poziomu cmd, PowerShell, a także bezpośrednio z konsoli pythonowej (3.8). W przypadku windowsowego terminala Ubuntu, pakiet w ogóle nie chce się zainstalować.
Uzupełniam o dane nt. wersji pip i Pythona:
pip 21.3.1 from C:\Users\jb0hn\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\pip (python 3.8)
Hej, niezaleznie od uzytych opcji kazdorazowo otrzymuje blad:
INFO:root:Checking args...
ERROR:root:Program error: No ratings count found on website: 'NoneType' object has no attribute 'text'
Probowalam wkleic cookie zarowno w cudzyslowie i bez, oraz uzyc podstawowej komendy filmweb <username> <cookie>
oraz komendy z przyklady filmweb -f all <username> <cookie>
. Czy spotkales sie moze wczesniej z tym problemem?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.