Closed DennisHakvoort closed 3 years ago
I found the following in the readme of this project. Please add these notes to your documentation site as well, it's not listed there. I'm pretty sure this is the issue. I'll try out and close the issue if this is indeed the case,
For Cloudflare scraping either cfscrape or selenium is used. Cfscrape depends on node-js and selenium utilizes an automated invisible instance of a browser (chrome/firefox). So, if you want to use Cloudflare enabled sites, make sure you have node-js and a webdriver installed.
That was the solution. I'm closing this issue.
Description When downloading from some sources, the download results in the error "[Errno 13] Permission denied: 'node'". One of the soruces is 'animerush'.
To reproduce The following command seems to result in this error for me.
LOG
``` 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.util[5160] INFO anime-downloader 5.0.1 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.util[5160] DEBUG Platform: Linux-4.19.104-microsoft-standard-x86_64-with-glibc2.29 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.util[5160] DEBUG Python 3.8.2 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.sites.anime[5160] INFO Extracting episode info from page 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.sites.helpers.request[5160] DEBUG ----- 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.sites.helpers.request[5160] DEBUG GET https://www.animerush.tv/anime/nichijou/ 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.sites.helpers.request[5160] DEBUG {} 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.sites.helpers.request[5160] DEBUG {'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/535.20 (KHTML, like Gecko) Chrome/19.0.1036.7 Safari/535.20'} 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.sites.helpers.request[5160] DEBUG ----- 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.session[5160] DEBUG cached request 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.sites.helpers.request[5160] DEBUG https://www.animerush.tv/anime/nichijou/ 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.sites.helpers.request[5160] DEBUG /tmp/animedlyommpp30/tmp8c2a36bh 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.sites.helpers.request[5160] DEBUG ----- 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.sites.helpers.request[5160] DEBUG GET https://www.animerush.tv/anime/nichijou/ 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.sites.helpers.request[5160] DEBUG {} 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.sites.helpers.request[5160] DEBUG {'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/535.20 (KHTML, like Gecko) Chrome/19.0.1036.7 Safari/535.20'} 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.sites.helpers.request[5160] DEBUG ----- 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.session[5160] DEBUG cached request 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.sites.helpers.request[5160] DEBUG https://www.animerush.tv/anime/nichijou/ 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.sites.helpers.request[5160] DEBUG /tmp/animedlyommpp30/tmpwim0l_d5 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.sites.anime[5160] DEBUG EPISODE IDS: length: 27, ids: ['https://www.animerush.tv/nichijou-episode-0/', 'https://www.animerush.tv/nichijou-episode-1/', 'https://www.animerush.tv/nichijou-episode-2/', 'https://www.animerush.tv/nichijou-episode-3/', 'https://www.animerush.tv/nichijou-episode-4/', 'https://www.animerush.tv/nichijou-episode-5/', 'https://www.animerush.tv/nichijou-episode-6/', 'https://www.animerush.tv/nichijou-episode-7/', 'https://www.animerush.tv/nichijou-episode-8/', 'https://www.animerush.tv/nichijou-episode-9/', 'https://www.animerush.tv/nichijou-episode-10/', 'https://www.animerush.tv/nichijou-episode-11/', 'https://www.animerush.tv/nichijou-episode-12/', 'https://www.animerush.tv/nichijou-episode-13/', 'https://www.animerush.tv/nichijou-episode-14/', 'https://www.animerush.tv/nichijou-episode-15/', 'https://www.animerush.tv/nichijou-episode-16/', 'https://www.animerush.tv/nichijou-episode-17/', 'https://www.animerush.tv/nichijou-episode-18/', 'https://www.animerush.tv/nichijou-episode-19/', 'https://www.animerush.tv/nichijou-episode-20/', 'https://www.animerush.tv/nichijou-episode-21/', 'https://www.animerush.tv/nichijou-episode-22/', 'https://www.animerush.tv/nichijou-episode-23/', 'https://www.animerush.tv/nichijou-episode-24/', 'https://www.animerush.tv/nichijou-episode-25/', 'https://www.animerush.tv/nichijou-episode-26/'] 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.commands.dl[5160] INFO Found anime: Nichijou 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.commands.dl[5160] INFO Downloading to /mnt/c/programming/Python_anime_downloader 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.sites.anime[5160] DEBUG Extracting stream info of id: https://www.animerush.tv/nichijou-episode-0/ 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.sites.helpers.request[5160] DEBUG ----- 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.sites.helpers.request[5160] DEBUG GET https://www.animerush.tv/nichijou-episode-0/ 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.sites.helpers.request[5160] DEBUG {} 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.sites.helpers.request[5160] DEBUG {'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/535.20 (KHTML, like Gecko) Chrome/19.0.1036.7 Safari/535.20'} 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.sites.helpers.request[5160] DEBUG ----- 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.session[5160] DEBUG cached request 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.sites.helpers.request[5160] DEBUG https://www.animerush.tv/nichijou-episode-0/ 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.sites.helpers.request[5160] DEBUG /tmp/animedlyommpp30/tmpuv5ekmy4 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.sites.helpers.request[5160] DEBUG ----- 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.sites.helpers.request[5160] DEBUG GET https://www.animerush.tv/nichijou-episode-0/ 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.sites.helpers.request[5160] DEBUG {} 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.sites.helpers.request[5160] DEBUG {'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/535.20 (KHTML, like Gecko) Chrome/19.0.1036.7 Safari/535.20'} 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.sites.helpers.request[5160] DEBUG ----- 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.session[5160] DEBUG cached request 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.sites.helpers.request[5160] DEBUG https://www.animerush.tv/nichijou-episode-0/ 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.sites.helpers.request[5160] DEBUG /tmp/animedlyommpp30/tmpilnawx0w 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.sites.animerush[5160] DEBUG Sources: [['https://mp4upload.com/embed-ve5ixds3pvcn-650x370.html', 'MP4Upload']] 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.sites.anime[5160] DEBUG Data : [{'extractor': 'mp4upload', 'url': 'https://mp4upload.com/embed-ve5ixds3pvcn-650x370.html', 'server': 'MP4Upload', 'version': 'subbed'}] 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.sites.anime[5160] DEBUG Sorted sources : [{'extractor': 'mp4upload', 'url': 'https://mp4upload.com/embed-ve5ixds3pvcn-650x370.html', 'server': 'MP4Upload', 'version': 'subbed'}] 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.sites.anime[5160] DEBUG Sources : [('mp4upload', 'https://mp4upload.com/embed-ve5ixds3pvcn-650x370.html')] 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.sites.helpers.request[5160] DEBUG ----- 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.sites.helpers.request[5160] DEBUG GET https://mp4upload.com/embed-ve5ixds3pvcn-650x370.html 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.sites.helpers.request[5160] DEBUG {} 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.sites.helpers.request[5160] DEBUG {'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/535.20 (KHTML, like Gecko) Chrome/19.0.1036.7 Safari/535.20'} 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.sites.helpers.request[5160] DEBUG ----- 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.session[5160] DEBUG cached request 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.sites.helpers.request[5160] DEBUG https://www.mp4upload.com/embed-ve5ixds3pvcn-650x370.html 2020-10-26 20:50:23 DESKTOP-K4C6R3T anime_downloader.sites.helpers.request[5160] DEBUG /tmp/animedlyommpp30/tmpt1k8d9dy Traceback (most recent call last): File "/mnt/c/programming/Python_anime_downloader/env/venv/bin/anime", line 8, in