AAndyProgram / SCrawler

🏳️‍🌈 Media downloader from any sites, including Twitter, Reddit, Instagram, Threads, Facebook, OnlyFans, YouTube, Pinterest, PornHub, XHamster, XVIDEOS, ThisVid etc.
https://discord.gg/uFNUXvFFmg
GNU General Public License v3.0
1.21k stars 81 forks source link

OF angel hub nothing downloads and passes by #159

Closed Alexo88 closed 1 year ago

Alexo88 commented 1 year ago

Hi, I have a problem that repeats itself in different repositories with some models. I think I followed all the steps for cookies and for logging in.

To Reproduce Steps to reproduce the behavior:

  1. angel hub:
  2. of page:
  3. does not download anything
    2023-08-06 10:35:48: Import cookies from Chrome
    La parte 'Name'='{"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36",".onlyfans.com":{".onlyfans.com":{"CloudFront-Policy":{"domain":".onlyfans.com","hostOnly":false,"httpOnly":false,"name":"CloudFront-Policy","path":"/dash/files/8/80/807a52d4df3543c0fb99d0b9b6e8de8d/","sameSite":"unspecified","secure":false,"session":true,"storeId":"0","value":"eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6XC9cL2NkbjMub25seWZhbnMuY2C9kYXNoXC9maWxlc1wvOFwvODBcLzgwN2E1MmQ0ZGYzNTQzYzBmYjk5ZDBiOWI2ZThkZThkXC8qIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNjg4NjYzNTQzfSwiSXBBZGRyZXNzIjp7IkFXUzpTb3VyY2VJcCI6IjE4Ni4xNDguMjI0LjEzOFwvMzIifX19XX0_"},"CloudFront-Signature":{"domain":".onlyfans.com","hostOnly":false,"httpOnly":false,"name":"CloudFront-Signature","path":"/dash/files/8/80/807a52d4df3543c0fb99d0b9b6e8de8d/","sameSite":"unspecified","secure":false,"session":true,"storeId":"0","value":"i07pyjUe3qpi9wzkA2M3FZUFmN-B2OdW8ZV4VqCSTag04fa~M5rPbBJjG~8Of...' de la cookie no es válida.
    2023-08-06 10:35:48: Message: La parte 'Name'='{"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36",".onlyfans.com":{".onlyfans.com":{"CloudFront-Policy":{"domain":".onlyfans.com","hostOnly":false,"httpOnly":false,"name":"CloudFront-Policy","path":"/dash/files/8/80/807a52d4df3543c0fb99d0b9b6e8de8d/","sameSite":"unspecified","secure":false,"session":true,"storeId":"0","value":"eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6XC9cL2NkbjMub25seWZhbnMuY29tXC9kYXNoXC9maWxlc1wvOFwvODBcLzgwN2E1MmQ0ZGYzNTQzYzBmYjk5ZDBiOWI2ZThkZThkXC8qIiwiQ29uZGW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNjg4NjYzNTQzfSwiSXBBZGRyZXNzIjp7IkFXUzpTb3VyY2VJcCI6IjE4Ni4xNDguMjI0LjEzOFwvMzIifX19XX0_"},"CloudFront-Signature":{"domain":".onlyfans.com","hostOnly":false,"httpOnly":false,"name":"CloudFront-Signature","path":"/dash/files/8/80/807a52d4df3543c0fb99d0b9b6e8de8d/","sameSite":"unspecified","secure":false,"session":true,"storeId":"0","value":"i07pyjUe3qpi9wzkA2M3FZUFmN-B2OdW8ZV4VqCg04fa~M5rPbBJjG~8Of...' de la cookie no es válida.
    HelpLink:
    StackTrace:    en PersonalUtilities.Functions.UniversalFunctions.ErrorsDescriber.Execute(ErrorsDescriber e, Exception ex, MMessage Message, Object OptionalValueReturn)
    en PersonalUtilities.Tools.Web.Cookies.CookieKeeper.ParseBrowserChromeText(String Text, ErrorsDescriber e)
    en PersonalUtilities.Tools.Web.Cookies.CookieListForm.ImportCookiesFrom(CookiesPlacement CookiesFrom)
    2023-08-06 10:36:01: Import cookies from Chrome
    La parte 'Name'='{"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36",".onlyfans.com":{".onlyfans.com":{"CloudFront-Policy":{"domain":".onlyfans.com","hostOnly":false,"httpOnly":false,"name":"CloudFront-Policy","path":"/dash/files/8/80/807a52d4df3543c0fb99d0b9b6e8de8d/","sameSite":"unspecified","secure":false,"session":true,"storeId":"0","value":"eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6XC9cL2NkbjMub25seWZhbnMuY29tXC9kYXNoXC9maWxlc1wvOFwvODBcLzgwN2E1MmQ0ZGYzNTQzYzBmYjk5ZDBiOWI2ZThkZThkXC8qIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNjg4NjYzNTQzfSwiSXBBZGRyZXNzIjp7IkFXUzpTb3VyY2VJcCI6IjE4Ni4xNDguMjI0LjEzOFwvMzIifX19XX0_"},"CloudFront-Signature":{"domain":".onlyfans.com","hostOnly":false,"httpOnly":false,"name":"CloudFront-Signature","path":"/dash/files/8/80/807a52d4df3543c09d0b9b6e8de8d/","sameSite":"unspecified","secure":false,"session":true,"storeId":"0","value":"i07pyjUe3qpi9wzkA2M3FZUFmN-B2OdW8ZV4VqCSTag04farPbBJjG~8Of...' de la cookie no es válida.
    2023-08-06 10:36:01: Message: La parte 'Name'='{"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36",".onlyfans.com":{".onlyfans.com":{"CloudFront-Policy":{"domain":".onlyfans.com","hostOnly":false,"httpOnly":false,"name":"CloudFront-Policy","path":"/dash/files/8/80/807a52d4df3543c0fb99d0b9b6e8de8d/","sameSite":"unspecified","secure":false,"session":true,"storeId":"0","value":"eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6XC9cL2NkbjMub25seWZhbnMuY29tXC9kYXNoXC9maWxlc1wvOFwvODBcLzgwN2E1MmQ0ZGYzNTQzYzBmYjk5ZDBiOWI2ZThkZThkXC8qIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNjg4NjYzNTQzfSwiSXBBZGRyZXNzIjp7IkFXUzpTb3VyY2VJcCI6IjE4Ni4xNDguMjI0LjEzOFwvMzIifX19XX0_"},"CloudFront-Signature":{"domain":".onlyfans.com","hostOnly":false,"httpOnly":false,"name":"CloudFront-Signature","path":"/dash/files/8/80/807a52d4df3543c0fb99d0b9b6e8de8d/","sameSite":"unspecified","secure":false,"session":true,"storeId":"0","value":"i07pyjUe3qpi9wzkA2M3FZUFmN-B2OdW8ZV4VqCSTag04fa5rPbBJjG~8Of...' de la cookie no es válida.
    HelpLink:
    StackTrace:    en PersonalUtilities.Functions.UniversalFunctions.ErrorsDescriber.Execute(ErrorsDescriber e, Exception ex, MMessage Message, Object OptionalValueReturn)
    en PersonalUtilities.Tools.Web.Cookies.CookieKeeper.ParseBrowserChromeText(String Text, ErrorsDescriber e)
    en PersonalUtilities.Tools.Web.Cookies.CookieListForm.ImportCookiesFrom(CookiesPlacement CookiesFrom)
    2023-08-06 10:36:37: [EContainer.Parse]
    Los datos del nivel de raíz no son válidos. línea 1, posición 1.
    2023-08-06 10:36:37: Message: Los datos del nivel de raíz no son válidos. línea 1, posición 1.
    HelpLink:
    StackTrace:    en System.Xml.XmlTextReaderImpl.Throw(Exception e)
    en System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
    en System.Xml.XmlTextReaderImpl.ParseDocumentContent()
    en System.Xml.XmlReader.MoveToContent()
    en System.Xml.Linq.XElement.Load(XmlReader reader, LoadOptions options)
    en System.Xml.Linq.XElement.Parse(String text, LoadOptions options)
    en PersonalUtilities.Functions.XML.EContainer.Parse(String Input, LoadOptions Options, ErrorsDescriber e)
    2023-08-06 10:36:37: [EContainer.Add(Nodes(), XElement, e)]
    Referencia a objeto no establecida como instancia de un objeto.
    2023-08-06 10:36:37: Message: Referencia a objeto no establecida como instancia de un objeto.
    HelpLink:
    StackTrace:    en PersonalUtilities.Functions.XML.EContainer.Add(String[] Nodes, XElement _Elem, ErrorsDescriber e)
    2023-08-06 10:38:18: Import cookies from Chrome
    La parte 'Name'='{"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36",".onlyfans.com":{".onlyfans.com":{"CloudFront-Policy":{"domain":".onlyfans.com","hostOnly":false,"httpOnly":false,"name":"CloudFront-Policy","path":"/dash/files/8/80/807a52d4df3543c0fb99d0b9b6e8de8d/","sameSite":"unspecified","secure":false,"session":true,"storeId":"0","value":"eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6XC9cL2NkbjMub25seWZhbnMuY29tXC9kYXNoXC9maWxlc1wvOFwvODBcLzgwN2E1MmQ0ZGYzNTQzYzBmYjk5ZDBiOWI2ZThkZThkXC8qIiwiQ29uZaW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNjg4NjYzNTQzfSwiSXBBZGRyZXNzIjp7IkFXUzpTb3VyY2VJcCI6IjE4Ni4xNDguMjI0LjEzOFwvMzIifX19XX0_"},"CloudFront-Signature":{"domain":".onlyfans.com","hostOnly":false,"httpOnly":false,"name":"CloudFront-Signature","path":"/dash/files/8/80/807a52d4df3543c0fb99d0b9b6e8de8d/","sameSite":"unspecified","secure":false,"session":true,"storeId":"0","value":"i07pyjUe3qpi9wzkA2M3FZUFmN-B2OdW8ZV4VqCSTag04fa~M5rPbBJjG~8Of...' de la cookie no es válida.
    2023-08-06 10:38:18: Message: La parte 'Name'='{"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36",".onlyfans.com":{".onlyfans.com":{"CloudFront-Policy":{"domain":".onlyfans.com","hostOnly":false,"httpOnly":false,"name":"CloudFront-Policy","path":"/dash/files/8/80/807a52d4df3543c0fb99d0b9b6e8de8d/","sameSite":"unspecified","secure":false,"session":true,"storeId":"0","value":"eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6XC9cL2NkbjMub25seWZhbnMuY29tXC9kYXNoXC9maWxlc1wvOFwvODBcLzgwN2E1MmQ0ZGYzNTQzYzBmYjk5ZDBiOWI2ZThkZThkXC8qIiwiQ29uZGW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNjg4NjYzNTQzfSwiSXBBZGRyZXNzIjp7IkFXUzpTb3VyY2VJcCI6IjE4Ni4xNDguMjI0LjEzOFwvMzIifX19XX0_"},"CloudFront-Signature":{"domain":".onlyfans.com","hostOnly":false,"httpOnly":false,"name":"CloudFront-Signature","path":"/dash/files/8/80/807a52d4df3543cb99d0b9b6e8de8d/","sameSite":"unspecified","secure":false,"session":true,"storeId":"0","value":"i07pyjUe3qpzkA2M3FZUFmN-B2OdW8ZV4VqCSTag04fa~M5rPbBJjG~8Of...' de la cookie no es válida.
    HelpLink:
    StackTrace:    en PersonalUtilities.Functions.UniversalFunctions.ErrorsDescriber.Execute(ErrorsDescriber e, Exception ex, MMessage Message, Object OptionalValueReturn)
    en PersonalUtilities.Tools.Web.Cookies.CookieKeeper.ParseBrowserChromeText(String Text, ErrorsDescriber e)
    en PersonalUtilities.Tools.Web.Cookies.CookieListForm.ImportCookiesFrom(CookiesPlacement CookiesFrom)
    2023-08-06 10:38:56: Import cookies from Chrome
    La parte 'Name'='csrf=pVxeeUW30517043bbadde350d84516eb54541778; auth_id=235315; fp=da86c99dc186f0d48db17670998376c1; lang=es; c=240914607-9%2C194864706-19%2C110497041-6%2C65399604-1%2C12952415-6%2C6642222-327%2C34388476-9%2C194672263-2%2C34388476-11%2C194816521-7%2C151437491-16%2C329668037-8%2C11002521-8%2C264003-245%2C5486474-24%2C340900717-1%2C334468081-9%2C301578923-55%2C334643837-3%2C334468081-6%2C13664057-6; sess=5ts0fj7l07m63m9nnklfke; st=ac7a85649814e256665c0f068bd4ccbd62aeda49d35ac58427f4511621f9dfaf' de la cookie no es válida.
    2023-08-06 10:38:56: Message: La parte 'Name'='csrf=pVxeeUW30517043bbadde350d84516eb54541778; auth_id=235715; fp=da86c99dc186f0d48db17670998376c1; lang=es; c=240914607-9%2C194864706-19%2C110497041-6%2C65399604-1%2C12952415-6%2C6642222-327%2C34388476-9%2C194672263-2%2C34388476-11%2C194816521-7%2C151437491-16%2C329668037-8%2C11002521-8%2C264023003-245%2C5486474-24%2C340900717-1%2C334468081-9%2C301578923-55%2C334643837-3%2C334468081-6%2C13664057-6; sess=5ts0fj742kom63m9nnklfke; st=ac7a85649814e256665c0f068bd4ccbd62aeda49d35ac58427f4511621f9dfaf' de la cookie no es válida.
    HelpLink:
    StackTrace:    en PersonalUtilities.Functions.UniversalFunctions.ErrorsDescriber.Execute(ErrorsDescriber e, Exception ex, MMessage Message, Object OptionalValueReturn)
    en PersonalUtilities.Tools.Web.Cookies.CookieKeeper.ParseBrowserChromeText(String Text, ErrorsDescriber e)
    en PersonalUtilities.Tools.Web.Cookies.CookieListForm.ImportCookiesFrom(CookiesPlacement CookiesFrom)
    2023-08-06 10:39:17: [EContainer.Parse]
    Los datos del nivel de raíz no son válidos. línea 1, posición 1.
    2023-08-06 10:39:17: Message: Los datos del nivel de raíz no son válidos. línea 1, posición 1.
    HelpLink:
    StackTrace:    en System.Xml.XmlTextReaderImpl.Throw(Exception e)
    en System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
    en System.Xml.XmlTextReaderImpl.ParseDocumentContent()
    en System.Xml.XmlReader.MoveToContent()
    en System.Xml.Linq.XElement.Load(XmlReader reader, LoadOptions options)
    en System.Xml.Linq.XElement.Parse(String text, LoadOptions options)
    en PersonalUtilities.Functions.XML.EContainer.Parse(String Input, LoadOptions Options, ErrorsDescriber e)
    2023-08-06 10:39:17: [EContainer.Add(Nodes(), XElement, e)]
    Referencia a objeto no establecida como instancia de un objeto.
    2023-08-06 10:39:17: Message: Referencia a objeto no establecida como instancia de un objeto.
    HelpLink:
    StackTrace:    en PersonalUtilities.Functions.XML.EContainer.Add(String[] Nodes, XElement _Elem, ErrorsDescriber e)
    2023-08-06 10:39:22: Import cookies from JSON
    Primitivo JSON no válido: csrf.
    2023-08-06 10:39:22: Message: Primitivo JSON no válido: csrf.
    HelpLink:
    StackTrace:    en PersonalUtilities.Functions.UniversalFunctions.ErrorsDescriber.Execute(ErrorsDescriber e, Exception ex, MMessage Message, Object OptionalValueReturn)
    en PersonalUtilities.Tools.Web.Cookies.CookieKeeper.ParseJsonText(String Text, ErrorsDescriber e)
    en PersonalUtilities.Tools.Web.Cookies.CookieListForm.ImportCookiesFrom(CookiesPlacement CookiesFrom)
    2023-08-06 10:45:45: [OnlyFans] - angelphub: user info parsing error [https://onlyfans.com/api2/v2/users/angelphub]
    Primitivo JSON no válido: Disallowed.
    2023-08-06 10:45:45: Message: Primitivo JSON no válido: Disallowed.
    HelpLink:
    StackTrace:    en PersonalUtilities.Functions.UniversalFunctions.ErrorsDescriber.Execute(ErrorsDescriber e, Exception ex, MMessage Message, Object OptionalValueReturn)
    en PersonalUtilities.Tools.Web.Documents.JSON.JsonDocument.JParse(String Text, String RootNodeName, WebDocumentEventArgs Args, ErrorsDescriber e)
    en PersonalUtilities.Tools.Web.Documents.JSON.JsonDocument.Parse(String Text)
    en SCrawler.API.OnlyFans.UserData.GetUserID()
    2023-08-06 10:45:45: [OnlyFans] - angelphub: data downloading error []
    Unable to get user ID
    Nombre del parámetro: ID
    2023-08-06 10:45:45: Message: Unable to get user ID
    Nombre del parámetro: ID
    HelpLink:
    StackTrace:    en SCrawler.API.OnlyFans.UserData.DownloadData(String Cursor, CancellationToken Token)
    2023-08-06 10:46:42: [OnlyFans] - angelphub: user info parsing error [https://onlyfans.com/api2/v2/users/angelphub]
    Primitivo JSON no válido: Disallowed.
    2023-08-06 10:46:42: Message: Primitivo JSON no válido: Disallowed.
    HelpLink:
    StackTrace:    en PersonalUtilities.Functions.UniversalFunctions.ErrorsDescriber.Execute(ErrorsDescriber e, Exception ex, MMessage Message, Object OptionalValueReturn)
    en PersonalUtilities.Tools.Web.Documents.JSON.JsonDocument.JParse(String Text, String RootNodeName, WebDocumentEventArgs Args, ErrorsDescriber e)
    en PersonalUtilities.Tools.Web.Documents.JSON.JsonDocument.Parse(String Text)
    en SCrawler.API.OnlyFans.UserData.GetUserID()
    2023-08-06 10:46:42: [OnlyFans] - angelphub: data downloading error []
    Unable to get user ID
    Nombre del parámetro: ID
    2023-08-06 10:46:42: Message: Unable to get user ID
    Nombre del parámetro: ID
    HelpLink:
    StackTrace:    en SCrawler.API.OnlyFans.UserData.DownloadData(String Cursor, CancellationToken Token)

Release information (please complete the following information):

Additional context I post it in case it happens to someone else, it seems that there are some models that can not be downloaded if they are in any promotion.

AAndyProgram commented 1 year ago

You've incorrectly added cookies. The log shows that you're trying to add cookies using the Import from Google Chrome method, but the text of the cookies looks like JSON.

You should add cookies using the Import from JSON method.

Alexo88 commented 1 year ago

You've incorrectly added cookies. The log shows that you're trying to add cookies using the Import from Google Chrome method, but the text of the cookies looks like JSON.

You should add cookies using the Import from JSON method.

hi, when i try to import json i look this alert cookies are not parsed from text!

AAndyProgram commented 1 year ago

What plugin are you using for? I use this: https://www.editthiscookie.com/blog/2014/03/install-editthiscookie/

If you can't add cookies in JSON format, there are 2 other methods to add cookies (Import from Netscape and Import from Google Chrome). Without any extension, the Import from Google Chrome method will always work.

Alexo88 commented 1 year ago

What plugin are you using for? I use this: https://www.editthiscookie.com/blog/2014/03/install-editthiscookie/

If you can't add cookies in JSON format, there are 2 other methods to add cookies (Import from Netscape and Import from Google Chrome). Without any extension, the Import from Google Chrome method will always work.

ITS WORKINg now thanks.

it turned out that my problem was the cookies, and the formatting that other chrome plugins were giving me, so I used the one you mentioned and it came out correct.

AAndyProgram commented 1 year ago

You're welcome 😊 Btw, download the new version and join our Discord channel (if you want to) https://discord.gg/uFNUXvFFmg

If you like SCrawler, please like the program on this site: https://alternativeto.net/software/scrawler/about/.