Wicloz / AnimeSentinel

AnimeSentinel is a new, open source, anime streaming site with MAL integration and dynamically obtained content.
https://anime.wicloz.rocks
47 stars 26 forks source link

Can't scrape anime #3

Closed tossmeboy closed 8 years ago

tossmeboy commented 8 years ago

I try to scrape anime by starting a queue:work but it always returns with "No episodes found" I have put my username and pass into the .env but it still doesn't work. Any tips?

Wicloz commented 8 years ago

For the MAL username and password you have to enter your actual username and password. For the kissanime field you need to enter the cookies that kissanime give you, they look something like this: KISSANIME_USER="kV9SRW%2fZraoO0hm2pEp2AA%3d%3d"

tossmeboy commented 8 years ago

How do I find the cookies? I am using chrome. I clicked on the info icon next to the http://, and It brought up the cookies for it. I put those in but it still comes up with the "No episodes found" message.

Wicloz commented 8 years ago

These cookies: https://wicloz.stackstorage.com/index.php/s/6JdT1xu4E19GSjm Get the string after 'content:' and put it between the "s.

Wicloz commented 8 years ago

Also, please update to the latest master because some disqus urls are now directing to localhost

tossmeboy commented 8 years ago

Updated, and it still doesn't work =( is there a way to check the link w/ my cookies? e.g. http://kissanime.to/...

Wicloz commented 8 years ago

I've decided to put my own cookies in the .env.example so you can try those:

KISSANIME_USER="WJW422zyM2EFNv16LrEaptn2UCPeHgOdVvLT7EnijsA%3d" KISSANIME_PASS="tr%2fYJpbgbHHE4eblk%2fM2C%2bpsHTF6v%2bPnQ8ejCFEzYWQ%3d" KISSCARTOON_USER="V%2b2ENEgO533%2bj4IBNcFka%2bk%2f229A5ZUYP%2fu55%2fNXGXg%3d" KISSCARTOON_PASS="KCWhaaETxpRfKMfqatXxqzpWch7sP9YGltR0DAvVzrA%3d"

Wicloz commented 8 years ago

Rather than the cookies not working, did you start the queue listener? Since that is what checks for videos: "(sudo --user=www-data --group=www-data) php artisan queue:work --queue=periodic_high,periodic_low,high,default,low --timeout=0 --tries=1"

The bit between brackets is only required if you are on a linux macine.

tossmeboy commented 8 years ago

So even when using your cred. it still comes up with no episodes found. I imagine this is on my end, so is it a dependency? I really wish laravel had a good logging system...

Wicloz commented 8 years ago

Something else I just thought about, did you seed the database? (php artisan db:seed) since streaming sites are defined there. Otherwise, try looking at anime from this season and see if you do see results from animeshow.

tossmeboy commented 8 years ago

-_- I am sorry for bothering you xD Thank you!

tossmeboy commented 8 years ago

By the way, I didn't seed the database