Giter Club home page Giter Club logo

garnuch's Introduction

garnuch

Przeglądarka memów z popularnych serwisów

Jest to prosty program który scrapuje memy z popularnych serwisów. Jest multiplatformowy i działa bez problemu na Windows, GNU/Linux oraz Mac OS. Program powstał jako projekt zaliczeniowy na studia.

Wykorzystane wzorce projektowe

  • Adapter
  • Fabryka
  • Dziedziczenie
  • Framework QT5

Zależności

Aby zainstalować zależności potrzebujesz Pythona 3.7.3 oraz menadżer PIP3. Następnie wykonaj te komendy:

pip3 install pyqt5
pip3 install requests
pip3 install bs4

garnuch's People

Contributors

zmaslo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

garnuch's Issues

crash aplikacji

logi z terminala:

[redve@redve garnuch]$ python3 garnuch.py
video - skipping it
Next page
Traceback (most recent call last):
File "/home/redve/Programs/garnuch/Domain/Api/ApiAdapter.py", line 26, in loadMeme
meme = next(self.memes)
StopIteration

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/redve/Programs/garnuch/Domain/Api/ApiAdapter.py", line 28, in loadMeme
self.api.nextPage()
File "/home/redve/Programs/garnuch/Domain/Api/Jbzdy/ApiJbzdy.py", line 25, in nextPage
nextPageUrl = page.find('div', attrs={'class': 'pagination-buttons'}).find('a', attrs={'class': 'pagination-next'})['href']
AttributeError: 'NoneType' object has no attribute 'find'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/redve/Programs/garnuch/Domain/View/MemeView.py", line 103, in endOfBarDetection
self.loadMemes()
File "/home/redve/Programs/garnuch/Domain/View/MemeView.py", line 113, in loadMemes
Thread(target=self.apiAdapter.loadMeme).run()
File "/usr/lib/python3.9/threading.py", line 910, in run
self._target(*self._args, **self._kwargs)
File "/home/redve/Programs/garnuch/Domain/Api/ApiAdapter.py", line 32, in loadMeme
self.memeLoaded.emit(meme)
UnboundLocalError: local variable 'meme' referenced before assignment
Aborted (core dumped)
[redve@redve garnuch]$

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.