MyEpisodes Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[UserScript] Add download links to episode lists

 
Post new topic   Reply to topic    MyEpisodes Forum Index -> User Contributions
View previous topic :: View next topic  
Author Message
Bunta


Posts: 27

PostPosted: Sun Oct 18, 2015 10:40 pm    Post subject: [UserScript] Add download links to episode lists Reply with quote

Hi All

I have a greasemonkey/tampermonkey script for use with Firefox or Chrome that adds download links to the all-in-one and episodes list screens.

If you are interested the script is available here:
https://greasyfork.org/en/scripts/13082-myepisodes-downloader

It's easy enough to edit the line at the bottom of the script to change the download site to whatever you like.
If you have any other features you would like or need help with using the script just let me know.

Enjoy!
Back to top
View user's profile Send private message
fred_gaou


Posts: 9

PostPosted: Wed Nov 04, 2015 3:41 pm    Post subject: Thanks Reply with quote

About MyEpisodes Downloader v1.0 script, I'm sorry to say that I prefer MyEpisodes Enhanced because it works in Episodes list view. Currently, there is not download link in this view.

Firefox 42.0
Greasemonkey 3.5
Back to top
View user's profile Send private message
Bunta


Posts: 27

PostPosted: Thu Nov 05, 2015 6:20 am    Post subject: Reply with quote

The links on the Episode List view stopped working as the site changed somehow so that the episode table was not showing until after the script was loaded.

I've fixed this now by adding a check for content before it applies the changes so it should be working again.
Back to top
View user's profile Send private message
fred_gaou


Posts: 9

PostPosted: Thu Nov 05, 2015 4:32 pm    Post subject: Reply with quote

Thank you for this script. It did the job.
Back to top
View user's profile Send private message
Zawaq


Posts: 4

PostPosted: Mon Nov 09, 2015 5:56 pm    Post subject: Reply with quote

Does not work for me in chrome nor in chrome with tampermonkey.
But works fine in firefox with greasemonkey.
I have tried to inactivate all other plug-ins except tampermonkey in chrome without any success. What am I doing wrong?

Cheers!

Edit:
Works now with version 1.3. Thanks! Smile
Back to top
View user's profile Send private message
Reddy79


Posts: 5

PostPosted: Fri Jan 08, 2016 11:59 am    Post subject: Reply with quote

Currently this script does not work in http://www.myepisodes.com/epsbyshow/

After the update of the site a couple of months ago all scripts stopped working for this particular page/view.

Would you mind adding support for this page as well if it is possible at all?
Or is there another way to get it working there with some simple modifications I can do myself?

That would be really great! ^^
Back to top
View user's profile Send private message
Bunta


Posts: 27

PostPosted: Sat Jan 09, 2016 10:24 am    Post subject: Reply with quote

There's never been anything in this script to work with that page.

However, I've just added functionality so that the download links will show on individual show pages as well.
Check if that does what you want or not.
Back to top
View user's profile Send private message
Reddy79


Posts: 5

PostPosted: Sat Jan 09, 2016 5:34 pm    Post subject: Reply with quote

Excellent! Everything I hoped for! Many thanks!
Back to top
View user's profile Send private message
PaulBags


Posts: 7

PostPosted: Tue Dec 13, 2016 2:21 am    Post subject: Reply with quote

Howdy, first up script is grabbing the wrong episode number on the all-in-one page. It's grabbing "Last Watched" when it should be grabbing from "Relevant Episode".

Secondly two feature requests: 1) download links for the quick check page, and 2) multiple download links.

I tried creating multiple links myself by turning downloadURL into an array and calling the last section in a for loop. This got me multiple download columns on the all-in-one page as well as multiple D columns on the esplist, but the links themselves didn't show up.

I'm probably going to put some more effort into this, but whatever I come up with will probably be about %5 understanding and %95 googled copy & pasting - if I ever get anything working at all.
Back to top
View user's profile Send private message
PaulBags


Posts: 7

PostPosted: Tue Dec 13, 2016 4:59 am    Post subject: Reply with quote

Still can't get it working in a loop so I did it the hard way, and made a few style adjustments to make it a bit easier to see having multiple links. Source here: https://gist.github.com/anonymous/0aa4cf46ef58f4a40853e4273bf90e06

EDIT:
Added Quick Check page: https://gist.github.com/anonymous/6592860e0099abe77b8f6d377090f07b
Back to top
View user's profile Send private message
borhoofd


Posts: 2

PostPosted: Fri May 12, 2017 6:13 pm    Post subject: Reply with quote

PaulBags wrote:
Howdy, first up script is grabbing the wrong episode number on the all-in-one page. It's grabbing "Last Watched" when it should be grabbing from "Relevant Episode".


Not sure if you ever managed to fix this problem, but just installed the script and worked around this.

Under addDownloadAllInOne, you should replace this line:
Code:
// Get episode number
        var episode = $(this).find("td b").first().text().trim();

With this one:
Code:
// Get episode number
        var episode = $(this).find("td:nth-child(5)").first().text().split(' ')[ 0 ].trim();


And it should work.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    MyEpisodes Forum Index -> User Contributions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

Main design by MW. Refitted to board by Hostile.