Giter Site home page Giter Site logo

selbetar / askfmarchiver Goto Github PK

View Code? Open in Web Editor NEW
12.0 2.0 3.0 653 KB

An arhciving tool for ask.fm profiles

License: GNU General Public License v3.0

C# 97.30% CSS 1.59% Dockerfile 1.11%
archiving askfm askfm-archiving csharp dotnet-core console-application

askfmarchiver's People

Contributors

selbetar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

askfmarchiver's Issues

Dockerizing the app

Hey,

Thanks for this great app!

I just wanted to ask what you guys think about dockerizing it? It would be pretty simple building a container and ssh into it and run commands. Later we could build a complete web UI, sort of like YouTubeDL docker containers.

Parse() Exception: Object reference not set to an instance of an object.

Hi,

I'm getting this error. Worked perfectly some time ago.

Parse() Exception:
Object reference not set to an instance of an object.
at askfmArchiver.Parser.SetUserName(HtmlDocument html)
at askfmArchiver.Parser.ParsePage(HtmlDocument html)
at askfmArchiver.Parser.Parse()
Attempting to commit 0 parsed answers...

Nothing to generate

Hi,
Trying to execute by running:
dotnet askfmArchiver.dll -u 'username' -t 'markdown'

Output:
Nothing to generate

Any ideas?

How to write code to archive ASKfm page directly into a PDF file?

Hello Selbetar

Thanks a lot for this great code. I was actively looking for something like this.

I have been trying to use your code with the latest version V 2.1.0.

As I was using Archival options (-a), it only gave me a handful of scattered media (usually photos and videos) in the designated output folder with no questions or answers saved. Not all media on this page as well. But when I try to use Markdown options (-m) it doesn't download anything and only gets this error message.
"Application is starting Markdown Service
Nothing to generate.
Application is Done: Markdown Service".

Only once I managed to get about 15 MD files. Unfortunately, I couldn't piece them together into one PDF file as shown in the example folder.

Anyway, my question to you is:
Can you please give me a code example of how to archive the Askfm page directly into PDF as in your folder example?

I hope to hear back from you.

Thank you.

Best Regards.

Error Downloading Images

Successfully ran software, generated .md, downloaded all .gif and videos, HOWEVER, no images where downloaded.


CMD prompt for each failure:

DownloadMedia() Exception: URL is:
An invalid request URI was provided. The request URI must either be an absolute URI or BaseAddress must be set.
at System.Net.Http.HttpClient.PrepareRequestMessage(HttpRequestMessage request)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.GetByteArrayAsync(String requestUri)
at askfmArchiver.Utils.NetworkManager.DownloadMedia(String url, String file) in C:\Users\ET\askfmArchiver\askfmArchiver\Utils\NetworkManager.cs:line 67


Further, .md message for each failure:

! [MISSING: Visuals Folder] (./output/visuals_XXXXXX\140532899439.)


There is, of course, a visuals folder as this is where the .gif and videos have been saved.
Any ideas? Thank you in advance, help appreciated.

Parse() Exception

Am I doing something wrong here?

dotnet askfmArchiver.dll -u 'username' -t parse

Parse() Exception:
Object reference not set to an instance of an object.
at askfmArchiver.Parser.GetAnswerCount(HtmlDocument html)
at askfmArchiver.Parser.ParsePage(HtmlDocument html)
at askfmArchiver.Parser.Parse()
Attempting to commit 0 parsed answers...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.