k0rnh0li0 / onlyfans-dl

OnlyFans content downloader
GNU General Public License v3.0
772 stars 221 forks source link

x-bc and user-id cannot be found with instructions provided. #219

Closed jadenquinn closed 8 months ago

jadenquinn commented 1 year ago

I am unable to find these values with the instructions provided in the readme. Help?

blmatthews commented 1 year ago

Not all requests have all things, so if you don't find something in one request, try another. Also, don't look in the General section in the headers, scroll down to the Request headers. For, me right now, everything is in the request starting list?.

jadenquinn commented 1 year ago

Not all requests have all things, so if you don't find something in one request, try another. Also, don't look in the General section in the headers, scroll down to the Request headers. For, me right now, everything is in the request starting list?.

I literally don't understand any of this... I'm not a dev.

jadenquinn commented 1 year ago

However, I was able to cross reference what these things mean with a site that I use for OnlyFans stuff too, but now I'm getting this: jaden@UltraYummyBlade ~ % cd '/Users/j/Downloads/onlyfans-dl-master/' && '/usr/local/bin/python3' '/Users/j/Downloads/onlyfans-dl-master/onlyfans-dl.py' && echo Exit status: $? && exit 1 Traceback (most recent call last): File "/Users/j/Downloads/onlyfans-dl-master/onlyfans-dl.py", line 16, in import requests ModuleNotFoundError: No module named 'requests' jaden@UltraYummyBlade onlyfans-dl-master % cd '/Users/j/Downloads/onlyfans-dl-master/' && '/usr/local/bin/python3' '/Users/j/Downloads/onlyfans-dl-master/onlyfans-dl.py' && echo Exit status: $? && exit 1 Traceback (most recent call last): File "/Users/j/Downloads/onlyfans-dl-master/onlyfans-dl.py", line 16, in import requests ModuleNotFoundError: No module named 'requests' jaden@UltraYummyBlade onlyfans-dl-master %

Edit: I'm also getting this after installing the requests library. Edit2: I actually got it to work. For some reason, I have 3 versions of Python installed, 2.7 and two 3 versions, this is for compatibility with certain things, and this makes using Python3 a disaster. I just had to install the requests library specifically using pip3, and not just using the default pip command. How annoying to remember.

Loquendo13 commented 1 year ago

Go to your web broser, open the onlyfans, press ctrl + shift + i, click in network, press ctrl + r, in the search bar write the word "hint", in this file you will find all the 4 variables that you need in the response headers

ericjs commented 1 year ago

I find everything else but I find no trace of an "x-bc" header. I looked in hints and many other JSON type requests.

ericjs commented 1 year ago

Nevermind...it was in a request header. I mistakenly thought it only made sense to look in the response headers.