Re: facebook python script

2018-07-09 Thread Masoud Sadri
Hi, 
you can use youtube-dl module.

https://github.com/rg3/youtube-dl


On Monday, July 9, 2018 at 10:16:34 PM UTC+4:30, Ahmad wrote:
>
> Hello everyone, I hope all of you will be fine.
>
> I want a script to download facebook video (SD or HD) using python. 
>
> if anyone has already please send me 
>
> or if you have any other material which can help me. 
>
> Waiting for you reply. Thanks
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/5bc1d6f1-625d-45d9-a369-21fdcbc8cd44%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: facebook python script

2018-07-09 Thread mottaz hejaze
i think you gonna need to scrap the page first . then use requests library

On Mon, 9 Jul 2018, 20:17 Ahmad,  wrote:

> Thank you very much dear. It will help alot me.
>
> On Monday, July 9, 2018 at 10:46:34 PM UTC+5, Ahmad wrote:
>>
>> Hello everyone, I hope all of you will be fine.
>>
>> I want a script to download facebook video (SD or HD) using python.
>>
>> if anyone has already please send me
>>
>> or if you have any other material which can help me.
>>
>> Waiting for you reply. Thanks
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/1fc1f9ee-b1b6-40fe-a80b-d1c0b09a15a5%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHV4E-cztBs41WW4mEv1Cg_RoGzxa4o8XZih3s9KZEizzciKcQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: facebook python script

2018-07-09 Thread Ahmad
Thank you very much dear. It will help alot me. 

On Monday, July 9, 2018 at 10:46:34 PM UTC+5, Ahmad wrote:
>
> Hello everyone, I hope all of you will be fine.
>
> I want a script to download facebook video (SD or HD) using python. 
>
> if anyone has already please send me 
>
> or if you have any other material which can help me. 
>
> Waiting for you reply. Thanks
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/1fc1f9ee-b1b6-40fe-a80b-d1c0b09a15a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: facebook python script

2018-07-09 Thread Kasper Laudrup

Hi Ahmed,

On 2018-07-09 19:46, Ahmad wrote:

Hello everyone, I hope all of you will be fine.

I want a script to download facebook video (SD or HD) using python.



I highly suggest using the requests library for doing HTTP client 
communication:


http://docs.python-requests.org

It's a lot easier to use and more "pythonic" than any of the HTTP 
libraries found in the Python standard library.


You probably need a way to get the URL for the video to download. I 
don't have any experience with it, but I would probably look into this 
for a start:


https://facebook-sdk.readthedocs.io/

I imagine it should be possible to use that library to find the URL for 
whatever video it is you want to download, but as I said, I have no 
experience with that.


That's where I would start at least.

Kind regards,

Kasper Laudrup

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/980a18a5-3786-32ff-9ab4-6ad0448a1a83%40stacktrace.dk.
For more options, visit https://groups.google.com/d/optout.


facebook python script

2018-07-09 Thread Ahmad
Hello everyone, I hope all of you will be fine.

I want a script to download facebook video (SD or HD) using python. 

if anyone has already please send me 

or if you have any other material which can help me. 

Waiting for you reply. Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/c1102f7d-9413-4db6-8783-f207f44fa25d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.