-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do you add artists to scrape or access the web interface #64
Comments
The
So copy
Unless you have a postgres instance, set
The default path in
You can now also comment out the config section for plugins you don't want active as well. I should update the readme.
I've you've never done anything linux before, you're probably going to have a hard time. |
There's no need to use WSL for running this on Windows. As long as you're willing to put up with command prompts (I use RBTray to minimize them to the systray) there's really no reason to go digging up an old machine for running a linux server on. The process is simple. After installing Python to your computer, you navigate to the xA-Scraper directory and run Access the web interface through the URL provided and add the artists you want to follow. What @fake-name does is he leaves this running and it automatically downloads new stuff in the background every so often. I have no idea if this actually works on Windows because I've never tried it. Instead I just close the web interface and the command prompt that was housing it and then I run I make batch scripts for all of this to expedite the entire process, including one that will scrape all the sites in order (except I make sure to put fa last since that one is by far the slowest). I run a PostgreSQL instance on Windows as well (also not using WSL), since it is much faster than SQLite, but that's a bit more complicated to set up. I've been thinking of adding a script to the repo (if @fake-name would allow it) that would automate the setup of PostgreSQL. I would need a more elegant way of putting it into the system tray first, however. |
VMs are a thing ;)
To be fair, sqlite has perf issues only for the web view, and only when cold. Basically, when you first access the web view after a long period of time (many minutes), the database will not be cached, so sqlite has to read it from disk, which can take as much as 60 seconds in my experience. Once the db contents are in the filesystem cache, it worked fine. On the other hand, it's barely tested, so there may be issues I don't know about. Personally, I have a really, really big postgres (128GB RAM, 5+ TB of tables) instance that's shared across all my projects, so I basically just use that by default for everything. |
Hyper-V's Linux support is horrid (unless you use Microsoft's pre-packaged Ubuntu Desktop 18.04 LTS image and quite frankly I can't stand the Unity DE) and toggling Hyper-V off to use something like VirtualBox is a pain in the ass. And unfortunately I currently need Hyper-V to remain enabled. When 20H1 is out this thankfully won't be an issue, with Hyper-V no longer being a big compatibility obstacle as well as WSL2 providing 99% compatibility with Linux CLI packages. |
I ran a pile of linux VMs under Hyper V in ~2012-2014 or so and it worked fine. If you're on top of hyper-v, I can see using virtualbox or something being problematic.
They dropped that for 18.04? (the last distro that ran unity was 17.04) Gnome 3 is also pretty goddamn bad, but switching to xfce isn't hard. |
I was not very successful in getting it to mount my local drives so that data could be properly exchanged. Clipboard sharing was also broken, and good god is it a pain to manually type out commands from my notes instead of just copying and pasting.
They turned it into a GNOME skin essentially. As for xfce, trying to switch to it broke the clipboard sharing, so I gave up on it. When 20H1 is just around the bend it doesn't seem like worth putting energy into, especially when native Windows doesn't really have any current issues with your project aside from the multiprocessing (which you've stated is in dire need of a rework anyway). |
I use Linux Mint as my main OS, which at it's core is just the same Ubuntu 18.04 LTS that this is developed on, so I'm good there. I'll try it again and get back to you. I do think that the one piece of information that the readme's missing is that management such as adding artists is done through the web interface. It doesn't explicitly say so, and I for some reason didn't assume so. |
Hi. I recently downloaded this, and have tried to use it. I'm wondering how one would actually ad artists to scrape, or use the web interface. I know these are very basic questions, but I'm new to all of this.
The text was updated successfully, but these errors were encountered: