noaione / yuu

Yuu - a simple AbemaTV and other we(e)bsite video downloader
BSD 3-Clause "New" or "Revised" License
59 stars 11 forks source link

AttributeError: 'NoneType' object has no attribute 'text' #2

Closed josandos closed 5 years ago

josandos commented 5 years ago

yuu -v https://abema.tv/video/episode/54-25_s1_p1 [INFO] Starting yuu... [DEBUG] Using proxy mode: No proxy [INFO] Parsing website [DEBUG] Requesting pages [DEBUG] Pages requested [DEBUG] Parsing webpage Traceback (most recent call last): File "/usr/local/bin/yuu", line 11, in sys.exit(main()) File "/usr/local/lib/python3.7/site-packages/yuu/command.py", line 69, in main dltitle, eptitle, m3u8link = webparse(args.input, args.res, sesi, args.verbose) File "/usr/local/lib/python3.7/site-packages/yuu/parser.py", line 172, in webparse title = soup.find('span', attrs={'class': 'abm_cq_m abm_cq_l abm_cq_c'}).text AttributeError: 'NoneType' object has no attribute 'text'

I'm using a Japanese VPN with this.

noaione commented 5 years ago

Yeah, Abema changed something on the website, so currently I'm rewriting the parser to use the API

noaione commented 5 years ago

Fixed on version 0.1.4 update it using pip install yuu==0.1.4 -U