APScheduler + requests 遇到 OSError: [Errno 24] Too many open files 的問題
#apscheduler #bug #code #collection #flask #gc #gunicorn #pypy #pypy3 #python #requests #source #urllib #urllib3 #workaround
APScheduler + requests 遇到 OSError: [Errno 24] Too many open files 的問題
#apscheduler #bug #code #collection #flask #gc #gunicorn #pypy #pypy3 #python #requests #source #urllib #urllib3 #workaround
Last time tonight, after some digging realised my code could a little better for getting the path for the Cover Art into a useable format for Mastodon.py
For some reason, #VLC insists on passing a URI around, whereas #Clementine just passes a filesystem path.
Anyway, sorted out now, so that in the VLC version of nowplaying, I unquote a urlparse'd path and throw that at Mastodon.
Crawler de webs de LaNación y Página12 en busca de las palabras más usadas de los artículos de la portada.
Usando python3 con urllib para requests y beautifulsoup4 para parsear
#noticias #argentina #crawler #python #pagina12 #lanacion #macri #gato #urllib #beautifulsoup #beautifulsoup4 #datos #analisis