-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
User Agent argument switch if downloading content/images #3384
Comments
pandoc does not support this out of the box. however, you can either:
|
Maybe we shouldn't close this. After all, it would be
possible to have pandoc do something like
setDefaultHeader "User-Agent" $ Just "A very popular browser"
when fetching if a PANDOC_USER_AGENT environment variable is
set, or if a command-line option is used...
So I think it's worth keeping this open as a feature
request.
|
Okay, sure.. if this feature request is common enough and easy enough to implement... btw, this would probably go into the |
Thank you so very much for both the guidance and reconsidering the ticket :) |
* Previously we got overlong lists with `--wrap=none`. This is fixed. * Previously a multiline list could become a simple list (and would always become one with `--wrap=none`). Closes #3384.
Note: I've removed this behavior, since we now have a |
Is it possible to allow the user to select/input a specific user agent for when pandoc retrieves files or data from a server?
For instance, I am unable to retrieve images from Facebook, which instead complains that the browser I am using is not supported. Unfortunately, I could not find a way to change the user agent myself.
Many thanks in advance :)
The text was updated successfully, but these errors were encountered: