Skip to content
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

mediafire.sh: fix #262

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

mediafire.sh: fix #262

wants to merge 2 commits into from

Conversation

elig0n
Copy link

@elig0n elig0n commented Jul 20, 2021

Fixing failure from what seems to be obsolete parsing (file is 3 years old):

parse failed (sed): "/function[[:space:]]*_/ s/^.*"\(.\+\)";.*$/\1/p" (skip 1)
Failed inside mediafire_download(), line 333, mediafire.sh
parse_attr failed (sed): "/href/ href="
Failed inside mediafire_download(), line 336, mediafire.sh

Parsing is made a lot easier now and seems to work with /file/$FILE_ID/* URLs at least for me.
I'm not sure if the other paths are still intact though. For a trial account upload I got only such URLs.
I left the other checks though they may be obsolete too by now.

@mcrapet mcrapet force-pushed the master branch 2 times, most recently from 3f42227 to e596725 Compare September 1, 2021 20:03
@ZLima12
Copy link

ZLima12 commented Nov 10, 2021

Worked for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants